The move to git!

Jesse Keating jkeating at redhat.com
Fri Jul 30 17:42:52 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/30/2010 02:13 AM, Martin Sourada wrote:
> Ok, so trying to update a package (libass) I've noticed a tiny problem:
> the fedpkg switch-branch does not seem to set up proper tracking of
> remote branches which then results in (uhm, I'm using git commit -a and
> git push, so you maybe handle this in fedpkg commit -p):
> 
> pyfedpkg.FedpkgError: There are unpushed changes in your repo
> 
> fedora-packager-0.5.0.1-3.fc12.noarch

This is my fault, I did all my design and testing with a git setting of
"push.default tracking" which instructs git to "push" to whatever branch
I'm tracking (which makes perfect sense to me, why isn't it a defaut?).
 Until fedpkg takes this into account, it's easiest to just do:

git config --global --add push.default tracking

Then you can easily push (and pull) from fedpkg switch-branch setups.

- -- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxTDxwACgkQ4v2HLvE71NUAiACcCK8OsJWHs2y43ikmiIwMrEt3
vJcAoKYqDJz9MeEDB1ocPPl8aG7X9Lvy
=xKCB
-----END PGP SIGNATURE-----


More information about the devel mailing list