#branching
3 posts tagged branching. Clear filter
-
How to Recover a Mistakenly Deleted Branch
Workflow git checkout -b newbranchname do some work and commit changed git checkout master git branch -d newbranchname doh... i meant to merge first Fortunately, you can easily recover from this...
-
Git Feature Branch Naming Strategy
There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton Typically, we have three main branches at any given time in a project lifecycle. Master is...
-
Git: How to Delete a Branch with an Invalid Name
If you've named a branch beginning with two dashes "--", you're sort of in trouble because git interprets your branch name as a switch/flag. You can skip switches all together by supplying two...