Removing files from GIT in Goland


Hi, i've recently started to learn Go and am using Goland. So far so good.

I have a few configuration files that i'm using to build and run my code and those files are included in source control and are oushed to my github.

Thing is I don't want them in github and I cant figure out how to remove them from source control via the Goland UI.

Any tips? 

Thanks a lot!


From the command line I used git rm --cached and this works. I'm still interested if this can be done in Goland tho. 


Hi Jason,

Thank you for your question. Is this what you're looking for -

If not, could you please elaborate more on your current setup and what files you'd like to exclude so we could test this additionally? 

Thank you!


Please sign in to leave a comment.