-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
23 lines (23 loc) · 749 Bytes
/
.gitconfig
File metadata and controls
23 lines (23 loc) · 749 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This is Git's per-user configuration file.
[user]
name = Andrew Weiss
email = wvvwwvw@gmail.com
[core]
editor = /usr/bin/vim
excludesfile = $HOME/.gitignore_global
[alias]
last = diff HEAD^
la = "!git config -l | grep alias | cut -c 7-"
s = status -s
cp = cherry-pick
b = branch
co = checkout
acom = commit --amend
ll = log --format='format:%Cblue(%ar) %Cred%h %Creset%s' --date=short -n 10
lld = log --format='format:%Cblue(%ad) %Cred%h %Creset%s' --date=short
cb = "!git rev-parse --abbrev-ref HEAD"
pushthis = "!git push origin $(git cb):$(git cb)"
lf = diff-tree --no-commit-id --name-only -r HEAD
files = diff-tree --no-commit-id --name-only -r
repull = pull --rebase
staged = diff --staged