Activity Team/Git FAQ: Difference between revisions

No edit summary
Line 106: Line 106:
  git checkout sucrose-0.84
  git checkout sucrose-0.84
  git rebase master
  git rebase master
=== How do I generate a patch? ===
git diff > blah.patch
:or
diff -rup [old] [new]
It is preferable that you generate your patch from the root directory of your project.


===How do I send a patch to the developers?===
===How do I send a patch to the developers?===


git add YOURFILE
git commit -m 'add YOURFILE' YOURFILE
  git format-patch HEAD^  
  git format-patch HEAD^  
  git send-email --to=sugar-devel@lists.sugarlabs.org 0001*.patch
  git send-email --to=sugar-devel@lists.sugarlabs.org 0001*.patch
Line 119: Line 124:


==Misc.==
==Misc.==
=== How do I generate a patch? ===
git diff > blah.patch
:or
diff -rup [old] [new]
It is preferable that you generate your patch from the root directory of your project.


=== Where do I put the .xo file for my project? ===
=== Where do I put the .xo file for my project? ===