Git branches

Move current stack of unpushed commits to a different branch:

git branch $newbranch
git push -u origin $newbranch
git reset --hard origin/master

Push a local branch to the origin

git push origin $new:$new -u

Delete branch on origin

git push origin :$old -u
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.