Re: [PATCH] push: Learn to set up branch tracking with '--track'

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

 



Hi,

On Mon, 2 Feb 2009, Jeff King wrote:

> It looks like the consensus is to add a branch.master config section 
> even when cloning an empty repo. And that should address my concern in 
> the 99% of cases where people use the default "master" setup. Which kind 
> of takes away the main use case for this topic.

>From where I sit, the main use would have been:

	# <hackhackhack>
	$ git init
	$ git add .
	$ git commit -m initial\ revision
	# <hackhackhack>
	# <create a repository on repo.or.cz>
	$ git remote add origin $URL
	$ git push -t origin master

BTW I always wondered if it would make sense to introduce "git commit 
--init" for the first 3 Git commands.  I use them way too often.

Ah, well, I will install an alias on all of my machines.

Ciao,
Dscho

--
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]

  Powered by Linux