diff options
Diffstat (limited to 'git-course/git-test-questions.txt')
-rw-r--r-- | git-course/git-test-questions.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/git-course/git-test-questions.txt b/git-course/git-test-questions.txt new file mode 100644 index 0000000..dcdb5eb --- /dev/null +++ b/git-course/git-test-questions.txt @@ -0,0 +1,50 @@ + +Please read the next set of questions and try to answer them. You +will find the answers in the file git-test-answers.txt. + +Git test questions +================== + +- Who wrote and invented the GIT version control program ? + +- With which command, you can configure your email name and email address with GIT? + +- When working with GIT, is it a good policy to use the "rm" or the "mv" terminal commands ? + +- What is the purpose of the HEAD pointer in GIT? + +- With which command can you copy a file from your working directory, +to the Staging Area (Also known as Index) ? + +- If you want to have write access to a remote repository, which protocol would you use ? + +- How (locally) you can remove a file from the Staging Area? + +- How (locally), I can recover the status of a file from the Staging Area, and put it +back into my Working Directory? + +- Which command you would use, if you want to remove completely a local +commit without leaving any trace on your local commit list, and at the +same time putting your working directory back in the previous commit status? + +- When doing a commit and using the "-m" parameter, what the letter "m" stands for? + +- If you forget to add certain changes or even a new file, in the last commite you have commited. +With which command would you amend this? + +- The "git clone" command, apart from downloading files from the remote server to your local computer, +and also creating the hidden .git folder within it. What else the git clone command does? + +- With which command, you can check if you still have any changed files pending to add from your working directory +to the staging area? + +- With which command, you can --list complete and local commit list? + +- How I can retrieve the remote repository commit list, and downloading the new files and changed ones, +into my working directory ? + +- With which command you would be able to see very easily the difference between 2 commits? + + + + |