[user]
- name = patrick nsukami
- email = ndkpatt@gmail.com
+ name = patrick nsukami
+ email = ndkpatt@gmail.com
[core]
- excludesfile = /home/nsukami/.gitignore
- editor = emacs -nw
+ excludesfile = /home/patrick/.gitignore
+ editor = emacs
autocrlf = input
[alias]
- lol = log --graph --decorate --pretty=oneline --abbrev-commit
+ lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
lg = !"git lg1"
undo-commit = reset --soft HEAD^
- undo-add = reset HEAD
+ undo-add = checkout
assume-unchanged = update-index --assume-unchanged
- delete-local-branch = branch -d
- create-branch = checkout -b
- modify-commit-message = commit --amend
- show-patch = apply --stat
- check-patch = apply --check
+ delete-local-branch = branch -d
+ create-branch = checkout -b
+ modify-commit-message = commit --amend
+
+ ch = checkout
+ co = commit
+ st = status
+ br = branch
+ hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
+ type = cat-file -t
+ dump = cat-file -p
[color]
ui = always
- branch = auto
+ branch = auto
diff = auto
interactive = auto
status = auto
[commit]
- template = /home/patrick/.gitcommitmessagetemplate.txt
+ template = /home/patrick/.gitcommitmessagetemplate.txt
\ No newline at end of file