logoalt Hacker News

supermdguytoday at 1:24 AM1 replyview on HN

One trick I’ve used is creating a folder and then adding a .gitignore inside it with *. Then nothing in that folder gets tracked, without needing to add anything to the public gitignore. Didn’t know about .git/config though!


Replies

linhnstoday at 8:17 AM

Yeah it's in the document but there are no examples on it.