Skip to content

Instantly share code, notes, and snippets.

@miqui
Created December 7, 2017 20:06
Show Gist options
  • Select an option

  • Save miqui/354c179091cae112358ce270d6d60b59 to your computer and use it in GitHub Desktop.

Select an option

Save miqui/354c179091cae112358ce270d6d60b59 to your computer and use it in GitHub Desktop.
sample git commands and go stuff

git push for master

git remote add fork git branch -a

git checkout -b

git log --pretty=format:"%h - %an, %ar : %s" git log --oneline --decorate

function setgolang set -xg GOPATH ~/go set -x PATH $PATH /usr/local/go/bin $GOPATH/bin end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment