Task 1
Topic: Git
Submission: Git repository pushed to the remote.
First Read the CSC2408 USQ Gitea instructions carefully, and then point your browser to gitea.usq.edu.au, log in using your USQ student credentials, and use the Gitea web interface to create a new (initialised) git repository named
CSC2408-S2-22-A2-myname
where myname is your family name followed by your given name (e.g. ‘smithjohn’).
Secondly, use the Gitea web interface to invite users ‘dekeyser’ and ‘octalina’ as collaborators for your new repository. Again see the instructions linked above for details.
Third, in your Debian Linux environment, using the command line, clone the repository. Use the git clone HTTPS URL that is provided in the Gitea Platform’s web interface for your new repo. In your Linux environment, on the command line, you will be prompted for your USQ student credentials when running git clone.
Fourth, download the Assignment2-files.zip file from the CSC2408 StudyDesk assessment page. Place the content of the archive into the directory that you cloned the repo in. If you now do a git status in your repo working directory in your Linux environment, you’ll see that all the files you unpacked are unstaged.
Fifth, add the files unpacked from the archive into your git repo, using the git add command. If you now do a git status you’ll see that the files are staged. Now commit the changes, and use commit message “Added files from the Assignment2 archive”. If you now do a git log or tig, you should see the first commit in your repo.
Sixth, for this first task, push the contents of your local repo to the remote Gitea server, by using the git push command on the command line. You will again be prompted for your USQ student credentials. As an optional step you can go back to the gitea.usq.edu.au browser GUI interface and double-check that your push was successful.
Finally, you are now ready to start work on Tasks 2 to 5. Make sure you periodically commit as well as push your changes. You must have at least five (5) commits over a period of at least 2 weeks.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.