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

accidentally branch onto a branch #90

Closed
Stefan-Jiang opened this issue Aug 27, 2020 · 2 comments
Closed

accidentally branch onto a branch #90

Stefan-Jiang opened this issue Aug 27, 2020 · 2 comments

Comments

@Stefan-Jiang
Copy link

I accidentally create the branch-A-CodingStandard onto the previous branch (branch-A-JavaDoc) instead of onto the master branch, I kinda scared that ill mess it up if I just try out myself, so could anyone help fix this? thanks in advance

@theodoreleebrant
Copy link

Dis you branch it out from branch-A-JavaDoc instead of master? Just to resolve ambiguity.

If that is the case, here is a solution: https://stackoverflow.com/questions/8428587/git-created-new-branch-from-a-wrong-branch

@Stefan-Jiang
Copy link
Author

yup that's the case, and I fixed it by interactive rebase, thx.

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

No branches or pull requests

2 participants