-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perlito5 - misc/Java-Asm-Interpreter/MethodExecutorAsm new repo info
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
misc/Java-Asm-Interpreter/MethodExecutorAsm/github/new_name.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
38
misc/Java-Asm-Interpreter/MethodExecutorAsm/github/new_repo.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |