On 2014-06-17 13:45, Karanbir Singh wrote: > $ git clone https://git.centos.org/git/centos-git-common.git > $ git clone https://git.centos.org/git/rpms/httpd.git > $ cd httpd > $ git branch -a Why would listing branches be necessary? > $ git checkout c7 <snip> > $ git rev-parse HEAD > `whoami`.start-point <snip> > $ git format-patch $(cat `whoami`.start-point) > These could be replace with `git format-patch origin/c7` (or `git format-patch "@{upstream}"`).