[pkg-java-svn2git] 01/01: Track the remote branches

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Apr 27 16:15:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository pkg-java-svn2git.

commit e3441d7071bd9252ecb3083576443a186b1e114e
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Apr 27 18:14:54 2015 +0200

    Track the remote branches
---
 migrate-svn-repo-to-git | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/migrate-svn-repo-to-git b/migrate-svn-repo-to-git
index a1aace9..05e2792 100755
--- a/migrate-svn-repo-to-git
+++ b/migrate-svn-repo-to-git
@@ -84,6 +84,10 @@ echo "Pushing the new repository..."
 git push --all
 git push --tags
 
+# Track the remote branches
+git branch --set-upstream-to=origin/master master
+git branch --set-upstream-to=origin/upstream upstream
+
 # Re-enable the post receive hook
 ssh alioth.debian.org "cd /srv/git.debian.org/git/$TEAM && mv $PACKAGE.git/hooks/post-receive.disabled $PACKAGE.git/hooks/post-receive"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/pkg-java-svn2git.git



More information about the pkg-java-commits mailing list