diff --git a/lisp/vc.el b/lisp/vc.el index 9a71286..c940d1d 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -1188,6 +1188,22 @@ merge in the changes into your working copy." (declare-function vc-dir-move-to-goal-column "vc-dir" ()) ;;;###autoload +(defun vc-pull () + "Merges changes between branches." + (interactive) + (vc-ensure-vc-buffer) + (let ((backend (vc-backend buffer-file-name))) + (vc-call-backend backend 'pull))) + +;;;###autoload +(defun vc-push () + "Pushes commits to some branch." + (interactive) + (vc-ensure-vc-buffer) + (let ((backend (vc-backend buffer-file-name))) + (vc-call-backend backend 'push))) + +;;;###autoload (defun vc-register (&optional set-revision vc-fileset comment) "Register into a version control system. If VC-FILESET is given, register the files in that fileset.