I don't get how it works.
You can: - 'git checkout -b branch_name' to create a branch - 'git checkout branch_name' to switch branches - 'git commit' to add dummy commits (no need to git add stuff) Edit: formatting
Learn Git Branching
11–20 of 144 posts
Re: Learn Git Branching
#12Re: Learn Git Branching
#13I don't get how it works.
You can: - 'git checkout -b branch_name' to create a branch - 'git checkout branch_name' to switch branches - 'git commit' to add dummy commits (no need to git add stuff) Edit: formatting
-'git rebase branch_name'
-'git merge branch_name'
-'git checkout C6' to enter a detached head state
Re: Learn Git Branching
#14Re: Learn Git Branching
#15Re: Learn Git Branching
#16Excellent work! I've wanted an easy way to explain git branching to people and from now on I'll point them to this.
Re: Learn Git Branching
#17It would be great if the help page popped up when I first load the site, so I don't have to guess and type "help" at the prompt to find out the purpose of the site. :)
I didn't even realise you could type "help". There definitely needs to be some sort of introduction prompt otherwise people (like me) are just gonna leave feeling like they've learned nothing. Still, nice idea.
Branching is huge, awesome, powerful, but I know I as well as a lot of developers I know could use a good lesson on it.
Re: Learn Git Branching
#18Re: Learn Git Branching
#19Re: Learn Git Branching
#20I don't get how it works.
You can: - 'git checkout -b branch_name' to create a branch - 'git checkout branch_name' to switch branches - 'git commit' to add dummy commits (no need to git add stuff) Edit: formatting