git push don't setup tracking?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
I want to use git in a "star" configuration.
I have  "repository" and 2 client "home" and "work"
I cloned repository on home and work, then I created a branch at work,
and pushed it to repository, at home I "git branch --track
origin/newbranch" and done some work... all ok there... then I pushed
again to repository
come back at work I wanted just to do a git pull.... and there it says
me that it don't have any tracking information... so I add to add by
hand the following lines into .git/config :
[branch "newbranch"]
	remote = origin
	merge = refs/heads/newbranch

and now it's working.... I think there shall be a way like "git push
--track newbranch origin" so it store tracking information
thanks and regards
JLM

-- 
KISS! (Keep It Simple, Stupid!)
(garde le simple, imbécile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espèce d'imbécile!"
-----------------------------
"Si vous pensez que vous êtes trop petit pour changer quoique ce soit,
essayez donc de dormir avec un moustique dans votre chambre." Betty
Reese
http://www.grainesdechangement.com/citations.htm
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]