... | ... | @@ -3,9 +3,9 @@ Refs can be pushed to the repository normally by push (see git push for a docume |
|
|
Refs can be fetched from the repository normally by fetch (see git fetch for a documentation).
|
|
|
|
|
|
Example:
|
|
|
git update-ref refs/archive/bfdBacktrace bfdBacktrace will create a reference named refs/archive/bfdBacktrace from a local branch bfdBacktrace
|
|
|
git push origin refs/archive/bfdBacktrace:refs/archive/bfdBacktrace will push a local reference to the remote
|
|
|
* git update-ref refs/archive/bfdBacktrace bfdBacktrace will create a reference named refs/archive/bfdBacktrace from a local branch bfdBacktrace
|
|
|
* git push origin refs/archive/bfdBacktrace:refs/archive/bfdBacktrace will push a local reference to the remote
|
|
|
|
|
|
git fetch origin refs/archive/bfdBacktrace:refs/archive/bfdBacktrace will fetch the remote reference from the remote
|
|
|
* git fetch origin refs/archive/bfdBacktrace:refs/archive/bfdBacktrace will fetch the remote reference from the remote
|
|
|
|
|
|
One can then drop archive branches and archive references. Commits are safe but the history is cleaner.
|
|
|
\ No newline at end of file |