diff options
| author | Lars Magne Ingebrigtsen | 2014-11-16 15:54:12 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2014-11-16 15:54:12 +0100 |
| commit | 1af9075908ed922e13d6d5a6b4f51f093d79f7f1 (patch) | |
| tree | 860064bb2907dd9b5052f3d6f478c1e7af73199f /admin/notes/git-workflow | |
| parent | af19cccc837b1371911988cf99c8c6140bb9cc4a (diff) | |
| download | emacs-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-workflow | 2 |
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 | |||
| 20 | cd ~/emacs | 20 | cd ~/emacs |
| 21 | git clone <membername>@git.sv.gnu.org:/srv/git/emacs.git | 21 | git clone <membername>@git.sv.gnu.org:/srv/git/emacs.git |
| 22 | mv emacs trunk | 22 | mv 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 |
| 24 | cd emacs-24 | 25 | cd emacs-24 |
| 25 | git checkout emacs-24 | 26 | git checkout emacs-24 |
| 27 | git config push.default current | ||
| 26 | 28 | ||
| 27 | You now have both branches conveniently accessible, and you can do | 29 | You 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. |