Git

What does git revert do?

What does git revert do? a) Creates a new commit that undoes the changes of a previous commit b) Deletes the most recent commit c) Resets the repository to a specific commit d) Moves the HEAD pointer to the previous commit Answer: a) Creates a new commit that undoes the changes of a previous commit

What does git revert do? Read More »

What is a Git hook?

What is a Git hook? a) A script that runs automatically before or after Git events b) A tool for resolving merge conflicts c) A command to check remote branches d) A tag for annotating commits Answer: a) A script that runs automatically before or after Git events Explanation: A Git hook is a script

What is a Git hook? Read More »

Scroll to Top