Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using git profiles by current directory


[includeIf "gitdir:~/workspace/project1/**"]
    path = .gitconfig.project1
[includeIf "gitdir:~/workspace/project2/**"]
    path = .gitconfig.project2


    name = Roberto Zubizaretta
    email =


    name = Comolokko Tanburibaykushasan
    email =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment