Alexander Osipenko wrote:
> How can I export a patch from a set of local commits?

git checkout -b myjlinkbranch origin/master
git cherry-pick firstlocalcommit..lastlocalcommit
git rebase -i origin/master # change pick to squash or fixup as neccessary
git format-patch -1 # or push to gerrit: git push gerrit 
myjlinkbranch:refs/for/master


//Peter

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to