Update for the creation page repo #168451
-
Select Topic AreaQuestion GitHub Feature AreaActions BodyHi guys, i noticed that the page for creation of a new repo has been update, i don't really understand the .gitignore part, because, when i click on it, it's ask me about a lot of thing, can someone explain me ? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 3 replies
-
|
gitignore is a text file that tells Git which files to ignore in a project, hence the name. It prevents Git from tracking files that aren't essential to the codebase like temporary files, build artifacts, dependencies, and configuration files. You use it by just listing the file types into the gitignore, this makes sure they arent accidentally committed to the project or included in the version history! |
Beta Was this translation helpful? Give feedback.
-
|
.gitignore file tells github not to upload it to the github. Usually you add the file names which has secret information like a api key etc. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
A .gitignore file tells Git which files and folders it should intentionally ignore in your project. When you create a new repository on GitHub, the dropdown menu you're seeing offers a list of pre-made .gitignore templates tailored for specific programming languages, frameworks, or environments. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Understanding the .gitignore Option on GitHubThe What is a
|
Beta Was this translation helpful? Give feedback.
-
|
Hey there! 👋 Thanks for posting in the GitHub Community, @phoekerson ! We're happy you're here. You are more likely to get a useful response if you are posting in the applicable category. The Accessibility category is a place for our community to discuss and provide feedback on the digital accessibility of GitHub products. Digital accessibility means that GitHub tools, and technologies, are designed and developed so that people with disabilities can use them. I've gone ahead and moved this to the correct category for you, |
Beta Was this translation helpful? Give feedback.
-
|
There are two items in github's docs which should help with this:
Oddly, afaict, the template option isn't covered in the docs. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you guys for the help ! I understand now, i will close the discussion now. |
Beta Was this translation helpful? Give feedback.
There are two items in github's docs which should help with this:
Oddly, afaict, the template option isn't covered in the docs.