Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Linus would show up and says "Stop it. Get some help by deleting your git and start over" 😂
-
pain3247y@byte sry but that doesn't work. Even if you are able to push the .gitignore to ignore .gitignore at the very moment when .gitignore is tracked it won't ignore .gitignore anymore. .gitignore can only ignore files that are not tracked. So you can only ignore .gitignore with .gitignore as long as it is not tracked :D
-
@C0D4 that would mean people can have their own personal .gitignore in the same branch. Must be hell. But I bet some people will see it as a great reason not to work with branches...
-
eskia8847yIt will actually take it as two negatives = a positive so everything you want your git to ignore it doesn't ignore 😉
-
bioDan61697y@byte Just add your .gitignore file with a commit message and 'ggpush' or 'git push --force'
-
Couldn't you just add it with 'git add .gitignore'. The .gitignore should just specify which files will be ignored on 'git add -A'
what happens if your .gitignore file contains '.gitignore'?
rant