On Fri, Dec 13, 2013 at 11:13:00PM -0800, THUFIR HAWAT wrote: > I'm using github, and when browsing commits I sometimes want to > branch off from an old commit. There doesn't seem to be a way to do > this from the github web interface, they only seem to allow branch > creation from the latest master commit. > > The suggestion on stackoverflow is: > > git branch branchname <sha1-of-commit> > > http://stackoverflow.com/questions/2816715/ > > > Which is ok. I was just wondering whether there's an easier way, > but it's not not too bad to get the sha1 for a commit.
This is NOT a github user list, it's a git user list, so please direct questions about github to github: https://github.com/contact However, you seem to not be completely familiar with git yet, so the answer to your question lies in understanding the difference between a clone (of a repository) and a branch, see e.g. http://stackoverflow.com/questions/3329943/git-branch-fork-fetch-merge-rebase-and-clone-what-are-the-differences /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Good powers of observation are frequently called "cynicism" by those that don't have them.
Description: PGP signature