简体   繁体   English

netbeans git支持:“忽略”和“从提交中排除”之间的区别

[英]netbeans git support: difference between 'ignore' and 'exclude from commit'

I am a new git user. 我是新的git用户。 I want to exclude my local wamp database settings when pushing changes to my website with git. 当我使用git将更改推送到我的网站时,我想排除本地wamp数据库设置。 I am using netbeans and I want to add my config directory to a gitignore file. 我正在使用netbeans,并且要将配置目录添加到gitignore文件。 Does anyone know how to do this using netbeans built in git support. 有谁知道如何使用git支持中内置的netbeans来做到这一点。

Thanks, 谢谢,

Bill 法案

I tested it, and it turns out that selecting 'ignore' will add the selected directory/file to the .gitignore file. 我测试了它,结果发现选择'ignore'会将选定的目录/文件添加到.gitignore文件中。

Hope this helps someone. 希望这对某人有帮助。 - Bill -比尔

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM