forked from hopeseekr/BashScripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
30 lines (28 loc) · 1.11 KB
/
Copy pathgitconfig
File metadata and controls
30 lines (28 loc) · 1.11 KB
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
[url "git@github.com:"]
insteadOf = git://github.com/
insteadOf = https://github.com/
insteadOf = https://github.com/
[commit]
gpgSign = true
[alias]
shows = show --show-signature
# Tired of GitHub showing 20 commits over 10 days as all happening today when you do a rebase?
# Run `git redate <hash>` and it'll fix that.
redate = rebase --committer-date-is-author-date
resign = rebase --exec 'git commit --amend --no-edit -n -S' -i
cloneup = clone --origin upstream
c = checkout
cp = cherry-pick
cpm = cherry-pick -m1
ll = log --pretty=shortlog --date=iso
pretty = ll
fix = rebase -i HEAD~2
ego = commit --amend --reuse-message=HEAD --author \"Theodore R. Smith <theodore@phpexperts.php>\"
alterego = commit --amend --reuse-message=HEAD --author \"Theodore R. Smith <hopeseekr@gmail.com>\"
alterSign = config user.signingKey \"B02DF5EE699DBE4149C922D359E310F3D9BC31BD\"
[pretty]
shortlog = format:%C(auto,yellow)%h%C(auto,magenta)% G? %Cred%ad %C(auto,green)%<(20,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% D
[url "https://"]
insteadOf = git://
[pull]
rebase = true