2024-06-03
This commit is contained in:
81
_-Review/gitconfig.md
Normal file
81
_-Review/gitconfig.md
Normal file
@ -0,0 +1,81 @@
|
||||
---
|
||||
type: "topic"
|
||||
created: "2024-01-06T01:25:36.182Z"
|
||||
updated: "2024-01-06T01:25:36.182Z"
|
||||
---
|
||||
|
||||
# Gitconfig
|
||||
|
||||
[Git](git.md)
|
||||
|
||||
```bash
|
||||
cd . > "C:\Program Files\Git\etc\gitconfig"
|
||||
git config --global core.autocrlf true --repalce-all
|
||||
git config --global core.bare false --repalce-all
|
||||
git config --global core.editor "%windir%\system32\notepad.exe --wait" --repalce-all
|
||||
git config --global core.filemode false --repalce-all
|
||||
git config --global core.fscache true --repalce-all
|
||||
git config --global core.ignorecase true --repalce-all
|
||||
git config --global core.logallrefupdates true --repalce-all
|
||||
git config --global core.repositoryformatversion 0 --repalce-all
|
||||
git config --global core.symlinks false --repalce-all
|
||||
git config --global credential.helper manager-core
|
||||
git config --global diff.astextplain.textconv astextplain --repalce-all
|
||||
git config --global filter.lfs.clean "git-lfs clean -- %f" --repalce-all
|
||||
git config --global filter.lfs.process "git-lfs filter-process" --repalce-all
|
||||
git config --global filter.lfs.required true --repalce-all
|
||||
git config --global filter.lfs.smudge "git-lfs smudge -- %f" --repalce-all
|
||||
git config --global init.defaultbranch "master" --repalce-all
|
||||
git config --global pack.deltaCacheSize "512m" --repalce-all
|
||||
git config --global pack.packSizeLimit "100m" --repalce-all
|
||||
git config --global pack.threads "1" --repalce-all
|
||||
git config --global pack.windowMemory "100m" --repalce-all
|
||||
git config --global pull.rebase false --repalce-all
|
||||
git config --global sendpack.sideband false --repalce-all
|
||||
git config --global user.email mike.phares@infineon.com --repalce-all
|
||||
git config --global user.name "Mike Phares" --repalce-all
|
||||
git config --global alias.logline "log --pretty=format:'%ad - %Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)an>%Creset' --abbrev-commit --date=short" --repalce-all
|
||||
git logline
|
||||
git config --list --show-origin
|
||||
```
|
||||
|
||||
```conf
|
||||
[alias]
|
||||
logline = log --pretty=format:'%ad - %Cred%h%Creset -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit --date=short
|
||||
[core]
|
||||
autocrlf = true
|
||||
bare = false
|
||||
editor = C:\\Windows\\system32\\notepad.exe --wait
|
||||
filemode = false
|
||||
fscache = true
|
||||
ignorecase = true
|
||||
logallrefupdates = true
|
||||
repositoryformatversion = 0
|
||||
symlinks = false
|
||||
[diff "astextplain"]
|
||||
textconv = astextplain
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
smudge = git-lfs smudge -- %f
|
||||
# [includeIf "gitdir/i:L:/Git/"]
|
||||
# path = http-git.gitconfig
|
||||
# [includeIf "gitdir/i:L:/DevOps/"]
|
||||
# path = http-git.gitconfig
|
||||
[init]
|
||||
defaultbranch = master
|
||||
[pack]
|
||||
deltaCacheSize = 512m
|
||||
packSizeLimit = 100m
|
||||
threads = 1
|
||||
windowMemory = 100m
|
||||
[pull]
|
||||
rebase = false
|
||||
[sendpack]
|
||||
sideband = false
|
||||
[user]
|
||||
# email = mike.phares@infineon.com
|
||||
email = mikepharesjr@msn.com
|
||||
name = Mike Phares
|
||||
```
|
Reference in New Issue
Block a user