Skip to content

abdirahimsacad/git-quiz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Git Quiz


  1. What is a repository?

A repository, or repo, is a centralized digital storage that developers use to make and manage changes to an application's source code. Developers have to store and share folders, text files, and other types of documents when developing software.

  1. What is the Git command to make a copy of a repo to your laptop?

Type git clone , and then paste the URL you copied earlier. Press Enter to create your local clone

  1. What is the Git command to send your code to Github?

The git push command is used to transfer or push the commit, which is made on a local branch in your computer to a remote repository like GitHub

  1. What does the -m in a Git commit command mean or do?

It stands for message

  1. What is the Git command for making a commit?

git commit

  1. What is the Git command to put your files in the staging area?

Add files to the staging area by using the "git add" command and passing necessary options. Commit files to the local repository using the "git commit -m " command

  1. What does origin stand for when pushing you code?

Origin is simply the name given to any remote repository available on GitHub. Whenever we need to push the changes to a remote repository, we use git push along with the remote repository “origin” and “master” branches. The term used is “git push origin master“.

About

Abdirahim Sacad's assigment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published