Re: [git-users] branch from an old commit

2013-12-14 Thread Magnus Therning
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 
> 
> 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.


pgp_CpypCEYxY.pgp
Description: PGP signature


[git-users] branch from an old commit

2013-12-13 Thread THUFIR HAWAT
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 

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.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.