about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-git.el
blob: 5cb0b78972c623e253d30dc1d00f3f690dd9df58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(defun magit-set-upstream ()
  (interactive)
  (magit-shell-command-topdir "git upstream"))

(use-package magit
  :after key-chord
  :config
  (key-chord-define-global "UU" 'magit-set-upstream))
;  :bind (("C-c g y" . magit-upstream))) ;; TODO

(use-package forge
  :after magit)

(provide 'init-git)