-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
25 lines (25 loc) · 730 Bytes
/
.gitconfig
File metadata and controls
25 lines (25 loc) · 730 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
[user]
email = myemail@email.com
name = Full Name
[color]
ui = true
[push]
default = current
[core]
# for sublime. -w is for wait, -n if you want it to open in new window instead of new tab
#editor = subl -w
editor = vim
excludesfile = ~/etc/.gitignore_global
# silence bell for scrollable output such as diffs
pager = less -q
#use ';' as the command separator when chaining commands because it works for both bash and powershell
[alias]
autoclean = !"git checkout .;git reset HEAD --hard; git clean -fdx; git submodule foreach --recursive 'git checkout .'"
rst = reset --hard @{upstream}
st = status
co = commit -v
coam = commit --amend --no-edit
coame = commit --amend
ch = checkout
[submodule]
recurse = true