Changes

From Gramps

Brief introduction to Git

627 bytes added, 16:55, 5 March 2014
Add warning about local name of branch, and push does all branches
git checkout -b gramps40 origin/maintenance/gramps40
 
{{man warn|1=Warning|2=This sets the name of the local branch to "gramps40" (not "maintenance/gramps40"). This may cause problems when you come to "push" your changes back to the server, depending on the "push.default" configuration settings (see below). You can change the name of the local branch by "git branch -m old new" i.e.
git branch -m gramps40 maintenance/gramps40}}
This is known as a "tracking" branch.
git push
 
{{man warn|1=Warning|2=This will push commited changes from '''all''' local branches, not just the one that is currently checked-out. If you want to ensure that only one branch is pushed, then use:
git push origin gramps40:maintenance/gramps40}}
=== Where for bugs? ===
manual
405
edits

Navigation menu