Skip to content

Instantly share code, notes, and snippets.

View Jantho1990's full-sized avatar
💭
Game devvin'

Josh Anthony Jantho1990

💭
Game devvin'
View GitHub Profile
@Jantho1990
Jantho1990 / git-branch.sh
Created March 27, 2018 13:22 — forked from Artistan/git-branch.sh
Git Checkout, Merge and Squish
#!/bin/bash
master="master"
# git-branch.sh dev
branch="$1"
git checkout $master
git fetch --all
git pull upstream $master