Skip to content

Instantly share code, notes, and snippets.

@sshadmand
Last active June 28, 2017 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sshadmand/4d3a94722e49466bca3e4f480685b6a5 to your computer and use it in GitHub Desktop.
Save sshadmand/4d3a94722e49466bca3e4f480685b6a5 to your computer and use it in GitHub Desktop.
A great Bash profile
# always list date and size info
alias ll='ls -all'
# make sure you are on a protected branch and prome remote and local where no remote exists
alias gitclean='git checkout development; git branch | egrep -v "master|development" | xargs git branch -D'
# list all branch and remote branches
alias gitlist='git branch -a'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment