-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
31 lines (31 loc) · 898 Bytes
/
Copy path.gitconfig
File metadata and controls
31 lines (31 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[user]
name = Prateek Karnal
email = karnalprateek@gmail.com
[pull]
ff = only
[push]
default = current
[core]
excludesfile = /home/equinox/.gitignore_global
[alias]
amend = commit -a --amend --no-edit
a = add
ca = commit -a
cam = commit -am
cm = commit -m
s = status
d = diff
dc = diff --color-words
puom = pull origin master
cob = checkout -b
co = checkout
fp = fetch --prune --all
l = log --oneline --decorate --graph
lall = log --oneline --decorate --graph --all
ls = log --oneline --decorate --graph --stat
lt = log --graph --decorate --pretty=format:'%C(yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset'
ros = rebase origin/master
pf = push -f
from = !git fetch && git rebase origin/master
fromp = !git fetch && git rebase origin/master && git push -f
rh = reset --hard