Skip to content

Commit

Permalink
Perlito5 - misc/Java-Asm-Interpreter/MethodExecutorAsm new repo info
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Aug 1, 2024
1 parent 0c7f98b commit f34d055
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
12 changes: 12 additions & 0 deletions misc/Java-Asm-Interpreter/MethodExecutorAsm/github/new_name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

JPerl: Simple and straightforward, combining "Java" and "Perl".
PerlJVM: Clearly indicates that it's Perl running on the JVM.
JavaPerl: Emphasizes the Java aspect while retaining the Perl name.
PerlFusion: Suggests a fusion of Perl and Java technologies.
PerlVM: Indicates that it's Perl running on a virtual machine, specifically the JVM.
Javarl: A portmanteau of Java and Perl.
PerlJ: A concise name that combines Perl and Java.
PerlJava: Directly indicates the integration of Perl with Java.
JPerlScript: Highlights the scripting nature of Perl on the JVM.
PerlOnJVM: Explicitly states that it's Perl running on the JVM.

38 changes: 38 additions & 0 deletions misc/Java-Asm-Interpreter/MethodExecutorAsm/github/new_repo.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
To transform a directory within a GitHub repository into a new repository while preserving its history, you can use the following steps:

Clone the Original Repository: Clone the repository that contains the directory you want to extract.
Filter the Directory: Use git filter-repo to filter the directory and create a new repository.
Push to a New Repository: Create a new repository on GitHub and push the filtered content to it.

Step-by-Step Guide 1. Clone the Original Repository

First, clone the original repository to your local machine.

git clone https://github.com/username/original-repo.git
cd original-repo

2. Install git filter-repo

If you don't have git filter-repo installed, you can install it using pip:

pip install git-filter-repo

3. Filter the Directory

Use git filter-repo to filter the directory you want to extract. Replace path/to/directory with the actual path to the directory within the repository.

git filter-repo --subdirectory-filter path/to/directory

This command rewrites the history to only include the specified directory and its history.
4. Create a New Repository on GitHub

Go to GitHub and create a new repository. Do not initialize it with a README, .gitignore, or license.
5. Push to the New Repository

Add the new GitHub repository as a remote and push the filtered content to it.

# Add the new repository as a remote
git remote add new-origin https://github.com/username/new-repo.git

# Push the filtered content to the new repository
git push new-origin main

0 comments on commit f34d055

Please sign in to comment.