[aur-general] PKGBUILD-git that actually works with branches

Justin Davis jrcd83 at gmail.com
Fri May 28 18:31:44 EDT 2010

On May 28, 2010, at 1:52 PM, Sebastian Schwarz wrote:
> By default git-clone only creates a remote tracking branch for
> master or whichever branch is specified with the `-b` option.
> Thus you either have to checkout the branch from the remote,

I am no git wiz but it seems like you are making things more complicated than they have to be.  When you type 'git checkout <branchname>' it automatically creates a remote tracking branch.  I can see no good reason to checkout the remote branch (the one prefixed with origin/) and force it to suppress its warning when you can just checkout a branch normally.

Your response was informative but did not tell me why you choose a more complicated route, instead of the straightforward 'git checkout <branchname>'.


More information about the aur-general mailing list