Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tornqvist/archive

Sentimental storage
https://github.com/tornqvist/archive

Last synced: about 1 month ago
JSON representation

Sentimental storage

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/\*
```