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

Create a global .gitignore file #25

Open
jiansoung opened this issue Oct 29, 2019 · 0 comments
Open

Create a global .gitignore file #25

jiansoung opened this issue Oct 29, 2019 · 0 comments
Labels

Comments

@jiansoung
Copy link
Owner

You can create a global .gitignore file, which is a list of rules for ignoring files in every Git repository on your computer. For example, you might create the file at ~/.gitignore_global and add some rules to it.

Open Terminal.
Run the following command in your terminal:
git config --global core.excludesFile ~/.gitignore_global

References

@jiansoung jiansoung added the Git label Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant