git/list[1] front-page[2] threads[3] people[4] search[5] about
 

rfe: set up tracking the quick way

From
JEJan Engelhardt <jengelh@medozas.de>
Date
Oct 18, 2008, 03:55 UTC
Message-ID
<alpine.LNX.1.10.0810172350370.4476@fbirervta.pbzchgretzou.qr>
[please cc, but you should do that anyway ;-)]
Hi,

sometimes it happens that I want to issue `git pull`, but then it nicely tells me that there is no remote branch set up to be tracked (that's my fault then), and goes on to tell me two longish git config commands to issue to make it so...

	git config branch.master.remote origin
	git config branch.master.merge master
76 chars to type. Can we have a short variant? Something like
	git track origin/master
or of similar shortness that operates on the current branch.

thanks, Jan

Message 1 of 1 in “rfe: set up tracking the quick way”
  1. Jan EngelhardtOct 18, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.