Work with a partner to implement the following user story:
- As a developer, I want to create a new GitHub repository and add an HTML file to it.
-
It's done when I have created a new repository named
first-day-repousing the GitHub user interface. -
It's done when I have cloned the
first-day-repoto my local machine. -
It's done when I have used command-line commands to navigate into the
first-day-repodirectory. -
It's done when I have used command-line commands to create an
index.htmlfile. -
It's done when I add and commit my changes using Git commands.
-
It's done when I push the changes to the remote repository.
Refer to the documentation:
GitHub Docs on creating a repo
GitHub Docs on cloning a repository
What command can you use to list the contents of a directory? How can you use this command to check your work?
If you have completed this activity, work through the following challenge with your partner to further your knowledge:
- What are the
git fetchandgit mergecommands?
Use Google or another search engine to research this.
Β© 2022 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.