Update git settings
This commit is contained in:
parent
495c21a819
commit
2d1f20e922
2 changed files with 17 additions and 10 deletions
8
.aliases
8
.aliases
|
@ -1,11 +1,13 @@
|
|||
alias a="ls -la"
|
||||
alias al="zsh_stats"
|
||||
alias gcm="git commit -m"
|
||||
alias gs="git status"
|
||||
alias gaa="git add ."
|
||||
alias ga="git add"
|
||||
alias gaa="git add ."
|
||||
alias gcm="git commit -m"
|
||||
alias gd="git diff"
|
||||
alias gl="git log"
|
||||
alias gh="git hist"
|
||||
alias grm="git rm"
|
||||
alias gs="git status"
|
||||
alias l="ls -lvh --color=auto"
|
||||
alias s="cd ~/Source"
|
||||
alias v="vim"
|
||||
|
|
19
.gitconfig
19
.gitconfig
|
@ -1,6 +1,13 @@
|
|||
[user]
|
||||
name = Andrew Tomaka
|
||||
email = atomaka@gmail.com
|
||||
name = Andrew Tomaka
|
||||
email = atomaka@gmail.com
|
||||
[github]
|
||||
user = atomaka
|
||||
|
||||
[apply]
|
||||
whitespace = fix
|
||||
[alias]
|
||||
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
|
||||
[color]
|
||||
ui = auto
|
||||
[color "branch"]
|
||||
|
@ -16,14 +23,12 @@
|
|||
added = yellow
|
||||
changed = green
|
||||
untracked = cyan
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
[apply]
|
||||
whitespace = fix
|
||||
[core]
|
||||
[core]
|
||||
excludesfile = ~/.gitignore_global
|
||||
autocrlf = input
|
||||
editor = subl
|
||||
filemode = false
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
[push]
|
||||
default = upstream
|
||||
|
|
Loading…
Reference in a new issue