GIT rm filename
delete the file from the index, as well as from the working directory. Is it possible to delete a file only from the index?
Thank you, Alessandro D.S.
Use git rm --cached:
git rm --cached
- cacheUse this option to disable and remove paths only from the index. Files of working trees, regardless of whether they are modified or not, will be left alone.
- cache
Use this option to disable and remove paths only from the index. Files of working trees, regardless of whether they are modified or not, will be left alone.
Source: https://habr.com/ru/post/1752236/More articles:Use Scala as if it were Java - eclipseCustomers complaining about the slow speed of my osCommerce site - performanceComplex function - assemblyWhat is the best module in perl that can implement Paros proxy functions - securityКак перевести RPC_STATUS в HRESULT? - windowsрегулярное выражение, которое извлекает слова из строки - javaFiles in gitignore - gitProcessing URL parameters - value pairs separated by a slash - urlAndroid Android player to play a list of songs - androidHow to query in sqlite - sqliteAll Articles