Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a .gitignore to remove build artifacts from git #8

Open
humphd opened this issue Sep 22, 2021 · 0 comments
Open

Add a .gitignore to remove build artifacts from git #8

humphd opened this issue Sep 22, 2021 · 0 comments

Comments

@humphd
Copy link

humphd commented Sep 22, 2021

You have a number of files and folders that are generated by the build output of your program. In general, we only want to put source code, not binaries or other generated data, into version control.

One way to deal with this is to add a .gitignore file that states which files and folders should be ignored by git. Here's an example of one for Visual Studio projects: https://github.com/github/gitignore/blob/master/VisualStudio.gitignore and for C# specifically https://gist.github.com/kmorcinek/2710267.

You can git rm -fr path to remove things you don't want in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant