Skip to content

Instantly share code, notes, and snippets.

@brianyu0717
Last active September 23, 2019 08:54
Show Gist options
  • Select an option

  • Save brianyu0717/ba627463e6f144482d75ce5d5700123e to your computer and use it in GitHub Desktop.

Select an option

Save brianyu0717/ba627463e6f144482d75ce5d5700123e to your computer and use it in GitHub Desktop.
Alias for Bash that are used by me
alias gca='git commit --amend'
alias gcan='git commit --amend --no-edit'
alias gpfm='git push origin HEAD:refs/for/master'
alias gprb='git pull --rebase'
alias grpo='git remote prune origin'
alias gs='git status'
alias ll='ls -l'
alias ls='ls -F --color=auto --show-control-chars'
alias mci2s='mvn clean install -T 2C -DskipTests'
alias taillast='ls -lt | awk '\''{print $9}'\'' | head -2 | xargs tail -f'
alias gtouch='git commit --amend --reset-author --no-edit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment