Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
push: add '--prune' option
author
Felipe Contreras
<felipe.contreras@gmail.com>
Wed, 22 Feb 2012 22:43:41 +0000
(
00:43
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 23 Feb 2012 02:17:39 +0000
(18:17 -0800)
When pushing groups of refs to a remote, there is no simple way to remove
old refs that still exist at the remote that is no longer updated from us.
This will allow us to remove such refs from the remote.
With this change, running this command
$ git push --prune remote refs/heads/*:refs/remotes/laptop/*
removes refs/remotes/laptop/foo from the remote if we do not have branch
"foo" locally anymore.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
raw
|
patch
| inline |
side by side
(from:
6ddba5e
)
No differences found