-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
33 lines (33 loc) · 750 Bytes
/
.gitconfig
File metadata and controls
33 lines (33 loc) · 750 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
32
33
[user]
name = AnimeshRy
email = ani16september@gmail.com
[email]
name = ani16september@gmail.com
[color]
ui = auto
[alias]
logb = log --all --graph --decorate;
gc = checkout;
gcm = checkout master;
gpull = pull;
gf = fetch;
gfa = fetch --all;
gf = fetch origin;
gpush = push;
gpushf = push -f;
gd = diff;
ga = add .;
glog = git log;
gb = branch;
gbr = branch remote;
gfr = remote update;
gbn = checkout -B;
grf = reflog;
grh = reset HEAD~; # last commit hard
gac = add . && commit -a -m;
gsu = gpush --set-upstream origin;
glog = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches;
[init]
defaultBranch = main
[core]
editor = nvim