forked from kontur-courses/git-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig-for-win
More file actions
36 lines (36 loc) · 742 Bytes
/
.gitconfig-for-win
File metadata and controls
36 lines (36 loc) · 742 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
34
35
36
[merge]
tool = vscode
[mergetool]
keepbackup = false
[diff]
tool = vscode
guitool = vscode
[core]
autocrlf = true
[pull]
ff = only
rebase = false
[fetch]
prune = false
[rebase]
autoStash = false
[difftool "vscode"]
path = code
cmd = code --wait --diff $LOCAL $REMOTE
[mergetool "vscode"]
path = code
cmd = code --wait $MERGED
[credential]
helper = manager
[alias]
it = !git init && git commit -m 'Initial commit' --allow-empty
st = status -sb
call = !git add . && git commit -m
commend = commit --amend --no-edit
graph = log --oneline --decorate --graph --all
to = checkout
pushup = push -u origin HEAD
please = push --force-with-lease
puff = pull --ff-only
pure = pull --rebase --autostash
undo = reset --soft HEAD^