|||

Git: Create New Branch, Checkout, & Merge

Create a new branch:
$ git branch <branch_name>

Checkout branch:
$ git checkout <branch_name>

Create new branch and checkout:
$ git checkout -b <branch_name>

Merge a branch into master

$ git checkout master
$ git merge new-branch
$ git branch -d new-branch
Up next Reading I love reading but I’ve bitten off more than I can chew. I’m jumping around, reading the following books: Can Science Explain Everything?, by Welcome Brought to you by blot.im Garden posts. I originally tried building a digital garden with Jekyll and 11ty but eventually got tired of dealing with
Latest posts Fade In setTimeout Function in JS Slowing Down Withholding Truth Design Approach Why I’m Tired Of The Rat Race Done Hustlin’ Testimony: GOD Revealed HIMSELF To Me My First Typeface Don’t Worship The Bible A Poem For My HEAVENLY FATHER CSS Center Vertically & Horizontally Welcome Git: Create New Branch, Checkout, & Merge Reading