aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/git-workflow
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2014-11-16 15:54:12 +0100
committerLars Magne Ingebrigtsen2014-11-16 15:54:12 +0100
commit1af9075908ed922e13d6d5a6b4f51f093d79f7f1 (patch)
tree860064bb2907dd9b5052f3d6f478c1e7af73199f /admin/notes/git-workflow
parentaf19cccc837b1371911988cf99c8c6140bb9cc4a (diff)
downloademacs-1af9075908ed922e13d6d5a6b4f51f093d79f7f1.tar.gz
emacs-1af9075908ed922e13d6d5a6b4f51f093d79f7f1.zip
Set the push default to "current", which should work everywhere
Diffstat (limited to 'admin/notes/git-workflow')
-rw-r--r--admin/notes/git-workflow2
1 files changed, 2 insertions, 0 deletions
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
20cd ~/emacs 20cd ~/emacs
21git clone <membername>@git.sv.gnu.org:/srv/git/emacs.git 21git clone <membername>@git.sv.gnu.org:/srv/git/emacs.git
22mv emacs trunk 22mv emacs trunk
23(cd trunk; git config push.default current)
23./trunk/admin/git-new-workdir trunk emacs-24 24./trunk/admin/git-new-workdir trunk emacs-24
24cd emacs-24 25cd emacs-24
25git checkout emacs-24 26git checkout emacs-24
27git config push.default current
26 28
27You now have both branches conveniently accessible, and you can do 29You now have both branches conveniently accessible, and you can do
28"git pull" in them once in a while to keep updated. 30"git pull" in them once in a while to keep updated.