Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention git merge --abort and git rebase --abort #127

Open
theOperand opened this issue Dec 20, 2021 · 1 comment
Open

Mention git merge --abort and git rebase --abort #127

theOperand opened this issue Dec 20, 2021 · 1 comment

Comments

@theOperand
Copy link

In my experience, the most common "getting stuck" situation for novice git users is getting stuck doing a rebase or a merge with conflicts.

In these situations, doing git merge --abort or git rebase --abort will put you right back where you were before executing the merge or rebase, and is the simplest way to recover from accidental bad merges or rebases.

I think the page should probably mention these commands because they very simple and work in the most common situations.

@jonlandrum
Copy link

we need a whole section on merge/pull requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants