How to exclude a selected file from GIT code control?

In a project controlled by GIT I have a file that I would like to exclude from code control - it should be without "tracking" and not work on the "Push" command. What GIT command to do this?
In a project controlled by GIT I have a file that I would like to exclude from code control - it should be without "tracking" and not work on the "Push" command. What GIT command to do this?
Show original content

9 users upvote it!

2 answers