20,741
edits
(→Resetting the repository: http://flightgear.org/forums/viewtopic.php?f=18&p=182309#p182309) |
|||
Line 556: | Line 556: | ||
If you have an old branch with your work and want to reapply selected commits to the new one, '''git cherry-pick''' is a useful command. | If you have an old branch with your work and want to reapply selected commits to the new one, '''git cherry-pick''' is a useful command. | ||
=== Updating old FGData gitorious clones === | |||
If you haven't updated your gitorious clone in a while, so that it significantly diverges from the main fgdata repository, pushing all changes would eat up lots of resources (bandwith, CPU) - thus, it is generally better to back up all important data/branches, and then delete your gitorious clone, to start over with a fresh clone - that way, you'll save tons of bandwidth and time. Cloning fgdata only takes a fraction of the time that would be required to push hundreds of megabytes of data separately, this is because cloning fgdata is a "local" operation for gitorious - so that bandwith is not the bottleneck. | |||
=== Git tutorials and resources === | === Git tutorials and resources === |