Removing files from GIT in Goland
Answered
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!
Please sign in to leave a comment.
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 - https://www.jetbrains.com/help/go/set-up-a-git-repository.html#ignore-files ?
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!