This article is a mirror article of machine translation, please click here to jump to the original article.

View: 2420|Reply: 2

The Git project .gitignore configuration file takes effect

[Copy link]
Posted on 2024-8-26 14:04:20 | | |
Requirements: Older .NET projects are submitted directly to the git repository, including bin, . VS, and then the .gitignore configuration is added, which does not take effect, and every time it is rebuilt, the contents of bin, obj, etc. folders will also be committed.

solution

To clean up the cache and refactor the index, first, make sure that you have created a new .gitignore file and configured it correctly, and then run the following command under the project:






Previous:Gl-inet router changes the locale
Next:Get started with the R2S friendly OpenWrt tutorial
 Landlord| Posted on 2024-9-24 12:55:44 |
.gitignore is invalid after the change
https://www.itsvse.com/thread-4367-1-1.html
 Landlord| Posted on 2024-11-26 16:37:08 |
Create the necessary .gitignore files for your project:The hyperlink login is visible.
Commonly used gitignore files:The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com