initiated .gitconfig
This commit is contained in:
parent
69e9f7d21f
commit
a7c81cbd9c
1 changed files with 25 additions and 0 deletions
25
.gitconfig
Normal file
25
.gitconfig
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
[user]
|
||||||
|
name = stanislas
|
||||||
|
email = stanislas@jouf.fr
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[color]
|
||||||
|
ui = auto
|
||||||
|
[alias]
|
||||||
|
cg = config --global
|
||||||
|
aliases = !git config --get-regexp alias | sed -re 's/alias\\.(\\S*)\\s(.*)$/\\1 = \\2/g'
|
||||||
|
ci = commit
|
||||||
|
co = checkout
|
||||||
|
st = status
|
||||||
|
lg = log --graph --date=relative --pretty=tformat:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%an %ad)%Creset'
|
||||||
|
oops = commit --amend --no-edit
|
||||||
|
pfl = push --force-with-lease
|
||||||
|
adda = add --a
|
||||||
|
uncommit = reset --soft HEAD~1
|
||||||
|
untrack = rm --cache --
|
||||||
|
rb = rebase
|
||||||
|
rbc = rebase --continue
|
||||||
|
rba = rebase --abort
|
||||||
|
rbi = rebase --interactive origin/main
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
Loading…
Add table
Add a link
Reference in a new issue