add global gitignore
This commit is contained in:
parent
4428e3cc94
commit
c075f4b6db
@ -1,3 +1,18 @@
|
||||
## global .gitignore
|
||||
**Windows `cmd.exe`:**
|
||||
```cmd
|
||||
git config --global core.excludesFile "%USERPROFILE%\.gitignore"
|
||||
```
|
||||
**or PowerShell:**
|
||||
```powershell
|
||||
git config --global core.excludesFile "$Env:USERPROFILE\.gitignore"
|
||||
```
|
||||
|
||||
**Linux:**
|
||||
```bash
|
||||
git config --global core.excludesFile '~/.gitignore'
|
||||
```
|
||||
|
||||
## git push remote all
|
||||
**Как отправлять исходники в несколько репозиториев одной командой:**
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
[core]
|
||||
eol = lf
|
||||
autocrlf = input
|
||||
excludesFile = ~/.gitignore
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[gpg]
|
||||
|
1
Git/gitignore
Normal file
1
Git/gitignore
Normal file
@ -0,0 +1 @@
|
||||
venv/
|
Loading…
Reference in New Issue
Block a user