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
-
@Wombat it doesn't work that way, changes to tracked files are never ignored, even if they are on .gitignore.
-
@Wombat maybe you staged it THEN ignored it in .gitignore, and then made a commit
if you had unstaged it before the commit, you wouldn't be able to stage it again -
run
git log --diff-filter=A -- vendor
to see when the vendor folder was added (assuming it's located at the root of the project) -
Wombat105845y@jesustricks I never added it to git ignore it is added by default on laravel projects. 😫
-
@Wombat well maybe it is versioned for a good reason.
if you really really really want to renove it from git for good (locally and from remote), you can use git filter-branch or bfg repo cleaner.
Why the fuck good git pushed my vendor folder, even though I have it in .gitignore?
That shit costed a huge amount of time... 😥
rant