From 1af9075908ed922e13d6d5a6b4f51f093d79f7f1 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 16 Nov 2014 15:54:12 +0100 Subject: [PATCH] Set the push default to "current", which should work everywhere --- admin/notes/git-workflow | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/notes/git-workflow b/admin/notes/git-workflow index 33ba39fbcd0..71ebd2abc96 100644 --- a/admin/notes/git-workflow +++ b/admin/notes/git-workflow @@ -20,9 +20,11 @@ mkdir ~/emacs cd ~/emacs git clone @git.sv.gnu.org:/srv/git/emacs.git mv emacs trunk +(cd trunk; git config push.default current) ./trunk/admin/git-new-workdir trunk emacs-24 cd emacs-24 git checkout emacs-24 +git config push.default current You now have both branches conveniently accessible, and you can do "git pull" in them once in a while to keep updated. -- 2.39.5