Skip to content

Instantly share code, notes, and snippets.

@andru255
Created July 25, 2013 22:25
Show Gist options
  • Select an option

  • Save andru255/6084335 to your computer and use it in GitHub Desktop.

Select an option

Save andru255/6084335 to your computer and use it in GitHub Desktop.
alias de GIT en linux, agregar debajo del .bashrc
alias gam='git commit -am'
alias grm='git rm'
alias gmv='git mv'
alias grr='git reset --hard HEAD'
alias goop="git commit --amend -C HEAD -n"
alias gls='git log --pretty=format:"%C(reset)%h %C(yellow)%ad%C(yellow)%d %C(reset)%s%C(green) [%cn]" --decorate --date=short'
alias ga='git add'
alias gp='git push'
alias gl='git log --name-status'
alias gs='git status'
alias gf='git fetch -p'
alias gm='git commit -m'
alias gb='git branch'
alias gc='git checkout'
alias gff="git fetch -p && git rebase origin/\$(just_git_branch)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment