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-repo
using the GitHub user interface. -
It's done when I have cloned the
first-day-repo
to my local machine. -
It's done when I have used command-line commands to navigate into the
first-day-repo
directory. -
It's done when I have used command-line commands to create an
index.html
file. -
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 fetch
andgit merge
commands?
Use Google or another search engine to research this.
Β© 2022 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.