Skip to content

Copy a root directory or file from one git repository to another with full history.

License

Notifications You must be signed in to change notification settings

bswilliamson/git-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

git-copy

Copy a root directory or file from one git repository to another with full history.

Usage

git-copy FROM-REPO#BRANCH TO-REPO#BRANCH ITEM [ITEM]...

If the branch is not present in the destintation repository then it will be created from the default branch.

For example to copy the README from this repository you would do the following:

git-copy https://github.com/bswilliamson/git-copy.git#master https://repo.test/user/project.git#master README.md

About

Copy a root directory or file from one git repository to another with full history.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages