Adds dfault gitconfig and global ignore files for git and hg.
This commit is contained in:
22
.gitconfig
Normal file
22
.gitconfig
Normal file
@@ -0,0 +1,22 @@
|
||||
[user]
|
||||
name = Tom Hicks
|
||||
email = headunter3@gmail.com
|
||||
[core]
|
||||
excludesfile = /Users/tom/.gitignore_global
|
||||
[alias]
|
||||
amend = commit --amend --no-edit
|
||||
br = branch
|
||||
brr = branch -r
|
||||
co = checkout
|
||||
ls = log --oneline --graph --decorate --all
|
||||
st = status
|
||||
cm = commit -m
|
||||
aa = add --all .
|
||||
cam = !git add --all . && git commit --amend --no-edit
|
||||
rbs = !git checkout main && git pull && git checkout - && git rebase main
|
||||
cop = "!f() { git checkout ${1-main}; git pull; }; f"
|
||||
lazy = commit -C HEAD@{1}
|
||||
[pull]
|
||||
ff = only
|
||||
[init]
|
||||
defaultBranch = main
|
||||
Reference in New Issue
Block a user