Jump to content

Git: Difference between revisions

27 bytes added ,  1 February 2021
Line 89: Line 89:
</syntaxhighlight>
</syntaxhighlight>


==gitignore==
==<code>.gitignore</code>==
.gitignore is used to ignore certain files to make sure they do not get accidentally pushed to the remote git repo.<br>
<code>.gitignore</code> is used to ignore certain files to make sure they do not get accidentally pushed to the remote git repo.<br>
You can find a collection of .gitignore files on [https://github.com/github/gitignore Github's gitignore repo].<br>
You can find a collection of .gitignore files on [https://github.com/github/gitignore Github's gitignore repo].<br>
Or you can create a custom .gitignore file at [https://www.gitignore.io gitignore.io].
Or you can create a custom .gitignore file at [https://www.gitignore.io gitignore.io].