Git tips: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
[[Category:Git]] |
[[Category:Git]] |
||
[[Category:Tips]] |
[[Category:Tips]] |
||
[[Category:Developers]] |
|||
[[Category:Software projects]] |
|||
[[Category:Software development]] |
|||
[[Category:Sugar]] |
Revision as of 11:44, 7 September 2007
Create a remote branch
git clone git+ssh://dev.laptop.org/git/sugar git branch trial-2 git push origin trial-2
Work on a remote branch
git clone git+ssh://dev.laptop.org/git/sugar git checkout --track -b trial-2 origin/trial-2 git pull
You can now use commit, push and pull as usual.
Apply changes from master
git-cherry-pick <commit-id> git push
The general git user manual can be found here: [git user-manual]