Last active
July 18, 2022 21:29
-
-
Save dcpc007/3a58336792e33ae7c803c883fb00b69b to your computer and use it in GitHub Desktop.
git configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Prénom NOM | |
email = <mail> | |
#signingkey=<key> # FOR GPG SIGNING COMMIT | |
[alias] | |
ci = commit | |
co = checkout | |
st = status | |
br = branch | |
fe = fetch -v -p | |
logg=log --oneline --decorate --graph | |
lg=log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim red)- %an%C(reset)%C(bold yellow)%d%C(reset)' -15 | |
lga=log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim red)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all -15 | |
lg2=log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim red)- %an%C(reset)' --all -15 | |
# Logs bewteen origin and local, main use after a fetch to see what will be included in pull/rebase | |
lgo=lg HEAD..HEAD@{upstream} | |
pushf = push --force-with-lease | |
filedel = log --name-status --diff-filter=D | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[diff] | |
colormoved = zebra | |
sumbodule = log | |
[guitool "vim"] | |
cmd = vim | |
[log] | |
date = relative | |
abbrevCommit = true | |
follow = true | |
[pull] | |
rebase = preserve | |
[rebase] | |
autosquash = true | |
[fetch] | |
recursesubmodules = on-demand | |
[core] | |
# Ne pas remplacer les caractères accentués par des escape | |
quotepath = off | |
excludesfile = ~/.config/git/ignore | |
pager = less -F -X | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: | |
- shellcheck -V | |
- which shellcheck | |
shellcheck: | |
script: | |
- shellcheck ./bin/taille-mois.sh | |
- shellcheck ./bin/ncdu_trdata.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[core]
# Ne pas remplacer les caractères accentués par des escape
quotepath = off
--> pour éviter des affichages du style :
$ git status
renommé : "FichesCreatures/Mod\303\250leCr\303\251ature.md" -> "Mod\303\250leCr\303\251ature.md"