git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jean-luc malet <jeanluc.malet@gmail.com>
To: git <git@vger.kernel.org>
Subject: git push don't setup tracking?
Date: Mon, 11 May 2009 13:46:10 +0200	[thread overview]
Message-ID: <1de9d39c0905110446h5a0b54e3ic7cf58dda24d4bc4@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-05-11 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 11:46 jean-luc malet [this message]
2009-05-14  6:34 ` git push don't setup tracking? Jeff King
2009-05-14  8:52   ` jean-luc malet
2009-05-14  9:33     ` Johannes Schindelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1de9d39c0905110446h5a0b54e3ic7cf58dda24d4bc4@mail.gmail.com \
    --to=jeanluc.malet@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).