Quantcast
Channel: Deep Thoughts
Viewing all articles
Browse latest Browse all 6

Auto-generating .gitignore with GNU make

$
0
0

Auto-generating .gitignore with GNU make

I was working on my grad school work and did a ‘git status’ to prep for syncing my code with Bitbucket.  I had just done a build and my executable was still there and of course git reported it as a new file.  I figured it would be a pain to add the executable name to .gitignore every time and wondered if there was an automated way to keep .gitignore up to date using my Makefile.  A quick search revealed the above article which was very informative.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images