- Take me to Practice Test
Solutions to practice test - Remote Repositories
-
Run cd /home/sarah/story-blog; git log
Details
$ cd /home/sarah/story-blog $ git log --oneline -
Count the number of stories in the master branch
Details
$ ls -
Login to UI with given credentials. Click on + sign to create new repository. Add Repository Name:story-blog and keep other options default. Then click on Create repository
-
Run cd /home/sarah/story-blog; git remote add origin http://git.example.com/sarah/story-blog.git
Details
$ cd /home/sarah/story-blog $ git remote add origin http://git.example.com/sarah/story-blog.git $ git remote -v -
Syntax: git push
Details
$ git push origin master -
Simply run git push origin master to push and input login credentials
Details
$ git push origin master -
Looking at the remote repository on Gitea can you identify the total disk space consumed by this repository?
Details
20KiB -
In the top menu bar select Explore -> Users
Details
From GUI --> Explore --> Users ( Count the users) -
In the top menu bar select Explore -> Repositories and count the number of repositories for each user.
Details
From GUI --> Explore --> Repositories -
In the top menu bar select Explore -> Repositories -> tej/ecommerce and look at the number of commits.
Details
From GUI --> Explore --> Repositories --> tej/ecommerce -
Go to story-bloggg repository in GUI and click on settings. Scroll all the way down and click on Delete This Repository option. Then follow the instructions.
Details
From GUI --> Repositories --> sarah/story-bloggg --> "Delete this repository"