Click here to Skip to main content
15,896,111 members
Articles / DevOps

Git – 4 Ways to Ignore Files

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
30 Jun 2023CPOL5 min read 12.4K   11  
Using .gitignore is not a good solution for every use case. There are alternatives.
If you have a config file like web.config that needs to be TRACKED by Git, but want LOCAL CHANGES IGNORED, that situation cannot be solved with .gitignore. We show alternative ways to achieve that.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Serbia Serbia
Mark Pelf is the pen name of just another Software Engineer from Belgrade, Serbia.
My Blog https://markpelf.com/

Comments and Discussions