-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
35 lines (34 loc) · 984 Bytes
/
.gitconfig
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
[credential]
# use windows credential manager
# https://docs.microsoft.com/en-us/windows/wsl/tutorials/wsl-git#git-credential-manager-setup
helper = /mnt/c/Program\\ Files//Git/mingw64/bin/git-credential-manager.exe
# use linux credential manager
# helper = /usr/local/share/gcm-core/git-credential-manager-core
# credentialStore = secretservice
[credential "https://dev.azure.com"]
useHttpPath = true
[user]
email = [email protected]
name = Adam Rush
[push]
default = simple
[pull]
rebase = false
[core]
editor = code --wait
[init]
defaultBranch = main
# [http]
# cookiefile = /home/adamr/.gitcookies
[alias]
c = "!git add -A && git commit -m "
new = "!git checkout -b"
k = "!git checkout "
b = "!git branch "
p = "!git push"
#origin $(git rev-parse --abbrev-ref HEAD)"
pf = "!git push --force"
#origin $(git rev-parse --abbrev-ref HEAD)"
amend = "!git add -A && git commit --amend --no-edit"
undo = "!git reset --soft HEAD^"
unstage = "!git reset HEAD"