HackerTrans
TopNewTrendsCommentsPastAskShowJobs

fsareshwala

no profile record

comments

fsareshwala
·vor 4 Jahren·discuss
This is what I do. It's simple enough and doesn't require any external dependencies. Highly recommend this approach.

The only issue I've had with this approach is that new files which I'd like to commit to the repository are ignored by default. One could use the .gitignore negation strategy like OP mentions to first unignore the file and then add it to the repository. I just end up using git add -f foo to force the addition even though foo is ignored.