Created
July 16, 2020 05:47
-
-
Save anil3a/e990b42a330e8fca89120a0e6eb9416e to your computer and use it in GitHub Desktop.
Git config name and email based on Folder directory ( i use in windows 10 )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[includeIf "gitdir:**/htdocs/mycompany-paypal/"] | |
path = .gitconfig-mycompany-paypal # filename where your custom git credential is saved for that particular folder | |
# This is Git's per-user configuration file. | |
# This will be used as global if you use. | |
[user] | |
# Please adapt and uncomment the following lines: | |
# name = unknown | |
# email = Anil@Anil(none) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is Git's per-user configuration file. | |
[user] | |
# Please adapt and uncomment the following lines: | |
name = your-user-name-to-git | |
email = yourl@emaiaddress-used-in-git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment