git-copy icon indicating copy to clipboard operation
git-copy copied to clipboard

Support git bundle

Open cybertk opened this issue 9 years ago • 0 comments

When the copy destination is a local path and ends with .git-bundle, we can bundle the repo into single file, like

git copy http://github.com/cybertk/git-copy.git /path/to/git-copy.git-bundle

Then restore with

git clone /path/to/git-copy.git-bundle /my/workspace

This is inspired by http://stackoverflow.com/a/5578292/622662

cybertk avatar Apr 06 '16 06:04 cybertk