Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions quizzes/Quizz by SULTAN LEO
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
How can you undo the last commit while keeping the changes in your working directory?
a. git undo
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
a. git undo
[ ] 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