Thank you, Sean, this information was very helpful!!


From: Sean Carrick <s...@pekinsoft.com>
Sent: Tuesday, October 29, 2024 5:54 AM
Cc: users@netbeans.apache.org
Subject: Re: Netbeans and .gitignore



Sam,



Actually, you don't need to leave the IDE to create your .gitignore file. All 
you need to do is switch to the Files tab and create a new empty file in your 
top-level project directory named ".gitignore". To populate the file in the 
IDE, select those files and directories that you want ignored in the Files tab 
and then click on Team...Ignore...Exclude from Commit.



While not fully graphical, it is simple to do inside of the IDE.



Sincerely,



Sean Carrick

Owner - PekinSOFT Systems





On Mon, Oct 28, 2024 at 10:45 PM Sam Lalani <samlal...@yahoo.com.invalid 
<mailto:samlal...@yahoo.com.invalid> > wrote:

I use Git with my Java projects created in NetBeans to commit to GitHub.  
However, I want to ignore some files, such as *.class and the dist directory.  
Is there a GUI available in NetBeans for creating a .gitignore file for my 
project?  Or do I have to create it outside the project and add it to the root 
directory?




 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

Virus-free. 
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
 www.avast.com





--
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Reply via email to