Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Compulsory Task 1 Follow these steps: Login to GitHub using the account you created. Create a new repository by selecting the New button, as shown
Compulsory Task 1
Follow these steps:
Login to GitHub using the account you created.
Create a new repository by selecting the New button, as shown in the
image below.
Name the repository gitTask and make sure that it is private.
You now have two git repositories. The one you have been using in the
previous compulsory tasks on your local machine, and this remote
repository that you have just made on GitHub. Push the repository on your
local machine to the remote repository on GitHub by following these steps:
Open your terminal or command prompt and change directory (cd)
to the folder task1_project created above.
Add your remote repository using the following command:
git remote add [shortname] [url]
E.g. git remote add task4
https://github.com/HyperionDev/gitTask.git.
Now you can use the short name (e.g. task4) on the command line
instead of the whole URL. The URL will be indicated under the
heading shown below once you have created your repository on
GitHub.
Push your local repository to your remote repository using the
following command:
git push [remote-name] [branch-name]
E.g. git push -u task4 master
Invite students@hyperiondev.com to be a collaborator to the repository
you have created. Help here. Take a screenshot to show you have done this
and paste it in this tasks folder.
Once your code reviewer has marked this task as complete (and not
before!), you can delete the repository that you have created here since it
doesnt store any meaningful application code. Help here.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started