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
|
||||
(man-page "git-push")
|
||||
(actions
|
||||
("p" "Push" magit-push))
|
||||
("p" "Push" magit-push)
|
||||
("t" "Push tags" magit-push-tags))
|
||||
(switches
|
||||
("-f" "Force" "--force")
|
||||
("-d" "Dry run" "-n")))
|
||||
|
|
5
magit.el
5
magit.el
|
@ -3184,6 +3184,11 @@ typing and automatically refreshes the status buffer."
|
|||
args)
|
||||
nil nil nil t))))
|
||||
|
||||
(magit-define-command push-tags ()
|
||||
"Push tags."
|
||||
(interactive)
|
||||
(magit-run-git-async "push" "--tags"))
|
||||
|
||||
(magit-define-command push ()
|
||||
(interactive)
|
||||
(let* ((branch (or (magit-get-current-branch)
|
||||
|
|
Loading…
Add table
Reference in a new issue