I work on a "feature" branch And a colleague of mine did a fix that is on "main" branch I want to "get" my colleague's code on my branch.
BAD: git merge main
I did a commit but I want to add some files to it.
I worked on a feature And I had to quickly change a branch so I performed a "WIP" commit at one point. I want to clean this WIP commit before opening my merge request.
I worked on a feature and did too many commits I wish to fuse them together before opening a merge request.
I did two commits: one for backend and then one for frontend But I forgot to add one file in the backend commit
I am working on a feature and have not yet commited But I need to quickly change branch to fix an urgent issue.
I worked on a feature and I wanted to rebase upon main But instead I did a merge
I did one big commit that has too many changes I want to split it into two commits
I did a wrong checkout And now my HEAD is in "detached" state
Me and a colleague wor
I forked a repository