Skip to content

Instantly share code, notes, and snippets.

@romelgomez
Created February 23, 2020 21:53
Show Gist options
  • Save romelgomez/2fb59e481afa64c9408d133cd64abb1c to your computer and use it in GitHub Desktop.
Save romelgomez/2fb59e481afa64c9408d133cd64abb1c to your computer and use it in GitHub Desktop.
My alias
```
alias dev="git checkout dev"
alias master="git checkout master"
alias add="git add ."
alias pull="git pull"
alias push="git push"
alias fe="git fetch"
alias s="git status"
git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
git config --global alias.c checkout
git config --global alias.m merge
alias serve="ng serve --port 8000"
alias c="add && git commit -m"
alias u="git reset HEAD~"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment