Last active
June 27, 2022 19:11
-
-
Save dfeinzimer/4be1d480e636c23ed83db2e9d3e23388 to your computer and use it in GitHub Desktop.
Mark the provided file as unchanged in git
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
cd $(dirname "$1"); | |
git update-index --assume-unchanged "$1"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment