I have an alias that I cannot find. Typing git help subaddvim gives me:
`git subaddvim' is aliased to `log HEAD'
I think I defined it like this:
git config --local alias.subaddvim 'log HEAD'
I looked in $repo_path/.gitconfig, ~/.gitconfig, /etc/gitconfig, but none of them have a subaddvim entry.
Where else can I look?
There is no difference between using the undocumented (or is it obsolete)
--localflag and no flag. Git never looks for a gitconfig in your repository root ($repo_path/.gitconfig). Repo-local config changes are in.git/config.git help configexplains the valid options:–global
For writing options: write to global ~/.gitconfig file rather than the
repository .git/config.
–system
For writing options: write to system-wide $(prefix)/etc/gitconfig rather
than the repository .git/config.
(Using git version 1.7.9)
You could try searching with this (from your repo root and assuming git is installed in /bin):