threads / discuss / 15946

rfe: set up tracking the quick way

Subject: rfe: set up tracking the quick way

## tl;dr

One message between Oct 18, 2008 and Oct 18, 2008.

replies: 0people: 1as markdown or json

Jan Engelhardt· Oct 18, 2008, 03:55 UTC · lore
[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

← back to recent threads