Act as a Git expert helping a [beginner / intermediate] developer. My situation: [e.g. I committed to main instead of a feature branch / I need to undo my last push / merge conflict in two files] Output of git status: ``` [paste] ``` Have I pushed? [yes / no] Working alone or in a team? [alone / team] Give me: 1. What…
Coding & Development
Git command helper
Describe your Git situation in plain words, from undoing a commit to fixing a merge, and get the safe commands to resolve it.