Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tornqvist/archive
Sentimental storage
https://github.com/tornqvist/archive
Last synced: about 1 month ago
JSON representation
Sentimental storage
- Host: GitHub
- URL: https://github.com/tornqvist/archive
- Owner: tornqvist
- Created: 2014-09-02T18:56:11.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-02T18:57:02.000Z (over 10 years ago)
- Last Synced: 2024-10-14T16:27:15.457Z (2 months ago)
- Size: 348 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Where old repos go to wither and die
To create a bundle for some repo:
```
$ git bundle create ../archive/BUNDLE_NAME.bundle master [branch1 [[branch2] [etc..]]]
```List refs in bundle
```
$ git ls-remote ../archive/BUNDLE_NAME.bundle
```To revive a repo, treat the bundle just like a remote, using fetch
```
$ git fetch ../archive/BUNDLE_NAME.bundle refs/heads/\*:refs/remotes/bundle/\*
```