Git, Productivity, Web Development, Software, Self Improvement.
using the commit hash: ➜ git reset --hard fb7cf42 Both ways have the same result, so just choose the one you are more familiar with. After running the git reset command your git repository should look like this: ➜ git log * fb7cf42 (HEAD, main) Commit B * f251a31 Commit A * 5f7cfbc Initial Commit