From 653f3cb2d5d6e6ef7cf7fc619e71ff00453a40e4 Mon Sep 17 00:00:00 2001 From: L-Sultan <35298873+L-Sultan@users.noreply.github.com> Date: Thu, 24 Aug 2023 14:41:28 +0200 Subject: [PATCH] Create Quizz by SULTAN LEO --- quizzes/Quizz by SULTAN LEO | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 quizzes/Quizz by SULTAN LEO diff --git a/quizzes/Quizz by SULTAN LEO b/quizzes/Quizz by SULTAN LEO new file mode 100644 index 0000000..f51b12c --- /dev/null +++ b/quizzes/Quizz by SULTAN LEO @@ -0,0 +1,11 @@ +How can you undo the last commit while keeping the changes in your working directory? +a. git undo +b. git revert HEAD +c. git reset --hard HEAD~1 +d. git commit --amend + +What's the purpose of the .gitignore file? +a. It contains your Git login credentials +b. It lists all the commits in the repository +c. It specifies files and directories to be ignored in version control +d. It stores the URL of the remote repository