Last active
March 19, 2020 20:46
-
-
Save KL-7/b63b103e783b08113a31b7ff4d7b3c27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
aa = add --all | |
au = add --update | |
br = branch | |
ci = commit | |
co = checkout | |
dc = diff --no-prefix --cached | |
df = diff --no-prefix | |
glg = !git-graph-log | |
graph = log --graph --oneline --decorate --date-order | |
lg = log | |
st = status | |
stt = status -uno | |
sum = log --oneline | |
unstage = reset HEAD -- | |
# General | |
alias ls="ls -G" | |
alias ll="ls -lAh" | |
# Completion for git `g` alias. | |
complete -o default -o nospace -F _git g | |
# Do not store in bash history duplicate commands or commands starting with a space | |
HISTCONTROL=ignoreboth | |
shopt -s histappend | |
PROMPT_COMMAND="history -a" | |
export EDITOR='subl -w' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment