Created
July 19, 2012 16:09
-
-
Save tqheel/3144984 to your computer and use it in GitHub Desktop.
Prevent ASP.Net Web.Config From Being Committed By Git
This file contains hidden or 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
#Run this to reverse ignoring of changes to web.config so it gets committed. | |
git update-index --no-assume-unchanged path_to_file/web.config |
This file contains hidden or 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
#Run this in GitBash to temporarily ignore changes to web.config so it does not get committed. | |
git update-index --assume-unchanged path_to_file/web.config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wow. The Internet is fascinating. I don't even remember writing this or what project I was referring to at the time.