I have a folder in vendor/plugins/ which I deleted and passed as a delete in my github. But the folder still exists on github.
vendor/plugins/
How to remove it from github? This may be a submodule. I'm not quite sure.
You can try git rm -rf vendor/plugins to remove it recursively. You will need to do it again.
git rm -rf vendor/plugins
Try it:
git rm -r vendor/plugins git commit -m "Your comment here" git push -u origin master
Deletes your directory firstThe second one makes your commitThird push your change
git rm -rf --cached $FILES
e.g. git rm --cached -r .idea
git rm --cached -r .idea
I found this blog useful when I wanted to remove unnecessary hidden directories.
https://danielmiessler.com/blog/removing-files-from-a-git-repository-without-actually-deleting-them/
Source: https://habr.com/ru/post/893395/More articles:cannot be dropped on [B]; The same context (default); Various Temp Files - asp.netHow do you set the coordinates of access points on a Windows cursor generated from an icon file? - winapiCalculation of the average value in tables using the formulas [R] - rHow to get latitude and longitude information from an image - javaTrying to recursively find a control with if .. is [type], won't find - c #C ++ Qt Reflection with Copy and Assignment - c ++How to block linux program from printing? - securityHaskell has a good way to write a conversion function num to num: toNum :: (Num a, Num b) => a β b`? - numbersCan I use client side coffeescript? - coffeescriptHow to associate a click event with a custom overlay with Google maps v3 in both IE and Firefox - google-mapsAll Articles