In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "git cancel file tracking status method", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's train of thought slowly in depth, together to study and learn "git cancel file tracking status method"!
Git cancels file tracking status
In the process of using the git system, errors may be encountered, resulting in the submission of files that should have been excluded
This requires untracing and allowing the gitignore file rules to take effect.
Cancel the tracking first
This part of the operation is performed in the terminal
View the file to cancel the trace git rm-r-n-- cached to perform the cancel operation
In fact, it is missing-n,-n means not to delete, just list the files.
Git rm-r-cached
After successful execution, the gitignore file rules take effect. If you don't already have rules, just add them.
Save
Can use all kinds of git clients normally
Submit warehouse git commit-m "description information" push remote warehouse git push origin thank you for reading, above is the content of "git cancels file tracking status method". After the study of this article, I believe you have a deeper understanding of the method of git canceling file tracking status, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.