GH-900 · Question #112
Which three files can a user automatically add while creating a new repository?
The correct answer is C. README, .gitignore, and LICENSE. When creating a new repository on GitHub, the repository initialization wizard offers three optional files to auto-generate: (1) README - a markdown file describing the project; (2) .gitignore - a file specifying which files and directories Git should ignore, with templates…
Question
Which three files can a user automatically add while creating a new repository?
Options
- AREADME, .git, and DOCS
- BLICENSE, .git, and README
- CREADME, .gitignore, and LICENSE
- DLICENSE, DOCS, and .gitignore
How the community answered
(40 responses)- A5% (2)
- B3% (1)
- C90% (36)
- D3% (1)
Explanation
When creating a new repository on GitHub, the repository initialization wizard offers three optional files to auto-generate: (1) README - a markdown file describing the project; (2) .gitignore - a file specifying which files and directories Git should ignore, with templates available for various languages and frameworks; and (3) LICENSE - a legal file defining how others may use the code, selectable from common open-source licenses. The '.git' directory is created automatically by Git itself and is not a user-selectable option.
Topics
Community Discussion
No community discussion yet for this question.