... | ... | @@ -24,6 +24,8 @@ Example: the file `~/dev/dbnomics` define user email for all DB.nomics repositor |
|
|
|
|
|
Example:
|
|
|
|
|
|
In `~/.gitconfig`:
|
|
|
|
|
|
```ini
|
|
|
[includeIf "gitdir:~/dev/"]
|
|
|
path = ~/dev/gitconfig
|
... | ... | @@ -33,6 +35,8 @@ Example: |
|
|
|
|
|
### Forcing git to use a manually configured email address
|
|
|
|
|
|
In `~/.gitconfig`:
|
|
|
|
|
|
```ini
|
|
|
[user]
|
|
|
useConfigOnly = true
|
... | ... | @@ -44,6 +48,8 @@ After a merge request is approved and the branch merged, the branch is deleted o |
|
|
|
|
|
This setting makes git delete local branches when their remote branches were deleted on the server.
|
|
|
|
|
|
In `~/.gitconfig`:
|
|
|
|
|
|
```ini
|
|
|
[fetch]
|
|
|
prune = true
|
... | ... | |