Added the ability to push tags.
This commit is contained in:
parent
8d94579f8b
commit
8152961d36
2 changed files with 7 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
||||||
(pushing
|
(pushing
|
||||||
(man-page "git-push")
|
(man-page "git-push")
|
||||||
(actions
|
(actions
|
||||||
("p" "Push" magit-push))
|
("p" "Push" magit-push)
|
||||||
|
("t" "Push tags" magit-push-tags))
|
||||||
(switches
|
(switches
|
||||||
("-f" "Force" "--force")
|
("-f" "Force" "--force")
|
||||||
("-d" "Dry run" "-n")))
|
("-d" "Dry run" "-n")))
|
||||||
|
|
5
magit.el
5
magit.el
|
@ -3184,6 +3184,11 @@ typing and automatically refreshes the status buffer."
|
||||||
args)
|
args)
|
||||||
nil nil nil t))))
|
nil nil nil t))))
|
||||||
|
|
||||||
|
(magit-define-command push-tags ()
|
||||||
|
"Push tags."
|
||||||
|
(interactive)
|
||||||
|
(magit-run-git-async "push" "--tags"))
|
||||||
|
|
||||||
(magit-define-command push ()
|
(magit-define-command push ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(let* ((branch (or (magit-get-current-branch)
|
(let* ((branch (or (magit-get-current-branch)
|
||||||
|
|
Loading…
Add table
Reference in a new issue