[Sugar-devel] Managing github forks

Daniel Narvaez dwnarvaez at gmail.com
Sun May 26 06:15:39 EDT 2013


Hello,

I've been playing with a slightly different workflow with github
repositories and it seems to work well for me.

I keep origin to be git at github.com/sugarlabs/module and I add a fork remote
pointing to git at github.com/dnarvaez/module.

To send pull requests I just

git push fork myfeature

To merge other people patches

git checkout master
git pull git://github.com/theirname/module theirfeature
git push

To update the fork (but with setup it doesn't even seem to be quite
necessary, you could just stay on origin master and only worry about fork
branches).

git pull
git push fork master

This seems to be working pretty well for me so far. Thoughts?
If it works well for people in general I could add prefs to sugar-build to
set this up automatically. It's pretty annoying to have to setup the remote
configuration every time you do a clean clone.

-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130526/f5a98a6d/attachment.html>


More information about the Sugar-devel mailing list