Re: [sage-devel] Tracking a git branch

2014-05-01 Thread Volker Braun
On Thursday, May 1, 2014 1:27:02 PM UTC+1, KnS wrote: > > while if I set the "default remote branch" to trac/develop or something > like that, I could just say: > $ git pull > while in the branch, right? > Correct. The "git trac" script sets that up automatically if you use it to download a bra

Re: [sage-devel] Tracking a git branch

2014-05-01 Thread Vincent Delecroix
You are right. You can edit the config (.git/config) to set it up once for all and this is answered for example in http://stackoverflow.com/questions/658885/how-do-you-get-git-to-always-pull-from-a-specific-branch 2014-05-01 14:27 UTC+02:00, Kannappan Sampath : > But everytime I need to update, I

Re: [sage-devel] Tracking a git branch

2014-05-01 Thread Kannappan Sampath
But everytime I need to update, I will have to do $ git pull trac develop while if I set the "default remote branch" to trac/develop or something like that, I could just say: $ git pull while in the branch, right? Am I missing something, in that, there is something called tracking a remote bra

Re: [sage-devel] Tracking a git branch

2014-05-01 Thread Vincent Delecroix
Of course, I assumed that you have trac declared as a remote git server. You can check that with $ git remote -v trac g...@trac.sagemath.org:sage.git (fetch) trac g...@trac.sagemath.org:sage.git (push) 2014-05-01 12:29 UTC+02:00, Vincent Delecroix <20100.delecr...@gmail.com>: > Hi, > > Be

Re: [sage-devel] Tracking a git branch

2014-05-01 Thread Vincent Delecroix
Hi, Be sure that you are in your develop branch on your machine. Then do $ git pull trac develop Or alternatively $ git fetch trac develop $ git merge FETCH_HEAD That way your local branch get updated with the one on trac. Vincent 2014-05-01 12:26 UTC+02:00, Kannappan Sampath : > Hello sa

[sage-devel] Tracking a git branch

2014-05-01 Thread Kannappan Sampath
Hello sage-devel: Nathann has kindly helped me a lot making me feel at home with git+sage stuff. I have one problem facing me. I have a local "develop" branch. I would like that to track the remote trac's develop branch... How do I do this? With Sincere regards, Kannappan. -- You received this