Use includeIf in gitconfig to split work and personal
Open
- Dominant language
- Shell
- Stars
- 20
- Forks
- 1
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
https://batsov.com/articles/2020/11/22/basic-git-setup/
```
[includeIf "gitdir:personal/"]
path = .gitconfig-personal
[includeIf "gitdir:work/"]
path = .gitconfig-work
```
I've already split this on my new work machine so perhaps it's time to make it so everywhere.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the repository's managed git configuration and the entry points used to install or apply it. Compare the existing setup with the issue's includeIf example, then verify that separate work and personal configurations are included everywhere the dotfiles are provisioned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100