Quiz: Which command safely reverses the code changes introduced by a previous commit in a shared public branch?
git revert generates a new commit containing the exact inverse diff of the target commit, preserving public commit history.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
git revert generates a new commit containing the exact inverse diff of the target commit, preserving public commit history.
git clean -fd forcefully purges untracked files (-f) and untracked directories (-d) from the workspace.
git config --global configures user identity in ~/.gitconfig , attributing future commits to that author.
git submodule update --init --recursive registers, clones, and checks out all nested git submodules configured in .gitmodules .
The on key defines repository events (e.g., push , pull_request , schedule ) that trigger the workflow.
… allow testing code across combinations of runtime versions (e.g. Python 3.9, 3.10, 3.11 on Ubuntu and macOS).
… package directory, preventing conflicting dependency versions across different projects.
… applications requiring fast, predictable single-digit millisecond response times.