-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
59 lines (43 loc) · 1.09 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[core]
autocrlf = input
ignorecase = false
[color]
ui = true
[diff]
# Use beyond compare as the diff tool
tool = bc3
# Include summaries of merged commits in newly created merge commit messages
log = true
[difftool]
prompt = false
[help]
# Automatically correct and execute mistyped commands
autocorrect = 2
[hub]
protocol = https
[merge]
tool = bc3
[push]
default = current
[user]
name = Niall McCullagh
email = [email protected]
[pull]
rebase = true
[rebase]
autoStash = true
[alias]
branches = branch -a
tags = tag
stashes = stash list
remotes = remote -v
unstage = reset -q HEAD
discard = checkout --
uncommit = reset --mixed HEAD~
amend = commit --amend
# unstages changes in the index, discards changes in the working directory, and removes any new files.
nevermind = !git reset --hard HEAD && git clean -d -f
# Prune remote branches that have been deleted
prune-remote-branches = remote prune origin
plog = log --graph --pretty='format:%C(red)%d%C(reset) %C(yellow)%h%C(reset) %ar %C(green)%aN%C(reset) %s'
s = status -sb