[Android] egit cancels file version control and androidegit
Development projects and collaborative development become more and more important. At the same time, the use of git as a collaborative tool is also growing. Here, we will introduce how egit can cancel file version control. (Egit is the git plug-in eclipse)
1. Open the Navigator view (ER .. How to open it? In the menu bar Window --> Show View --> Navigator) Find the. gitignore file under the corresponding project. If it does not exist, you can create it.
2. Double-click to open the. gitignore file and add the file or folder in which you want to remove the version control. For example:
In this way, the deleted files are no longer displayed during the commit operation.
However, it should be noted that this method is only applicable to files without version control. If a version control file is already in use, this method cannot be used for testing. I am very grateful to you for asking you how to remove files whose version control has been implemented ~
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.