Adds dfault gitconfig and global ignore files for git and hg.

This commit is contained in:
Tom Hicks
2024-09-24 12:40:57 -07:00
parent 6484c9e57e
commit 7518283389
4 changed files with 29 additions and 1 deletions

22
.gitconfig Normal file
View 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