git branch help?

Kevin Kofler kevin.kofler at chello.at
Tue Aug 3 01:06:07 UTC 2010


Jesse Keating wrote:
> Here is where you should have done a fedpkg or git push
[snip]
> There is nothing to commit, since all the changes are already committed.

The joys of DVCSes. People are NOT used to commit and push being different 
operations. Git is highly confusing to people who aren't git experts.

> Somebody has changed master since you last touched it, and you had
> changes on your local master that are out of sync now.  First, you
> should do:
> 
> git config --add --global push.default tracking
> 
> This will make git push only attempt to push to the branch you are
> tracking.  Then you can git push your f13 changes.  git checkout master
> to get back to master and do a git pull --rebase to pull in the latest
> upstream changes and re-play your unpushed changes on top of it.  Then
> git log to see what has happened, push if necessary.

Huh? Can it get any more complicated? Git is a royal PITA to use!

        Kevin Kofler



More information about the devel mailing list