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

Wrongful commit to master. What to do? #623

Closed
aloisdg opened this issue Mar 23, 2017 · 2 comments
Closed

Wrongful commit to master. What to do? #623

aloisdg opened this issue Mar 23, 2017 · 2 comments
Labels

Comments

@aloisdg
Copy link
Contributor

aloisdg commented Mar 23, 2017

Hello,

After reading the french part of some code. I took the initiative to clean a bit the code directly in the GitHub website and commit. I thought that it will create a patch-1 and forgot that I am able to change master directly ! Instead of PR the code was ship directly into master ! The CI run it (and since AppVeyor failed and I am glad it did!). This wrong commit shouldnt go to far. I am not able to revert it right now (cant find the function on the website and I cant clone where am I) and I am not sure about what to do. I hope this move wasn't to harmful. Is it possible to remove right to commit to some branch? If so I would like to limit myself to dev. I don't need more so I shouldn't have more.

Thank you. Sorry for the trouble. 😢

Ping: @onovotny @mexx @hazzik

@aloisdg aloisdg changed the title Wrongful commit to master Wrongful commit to master. What to do? Mar 23, 2017
@clairernovotny
Copy link
Member

Just reversed -- https://github.com/Humanizr/Humanizer/tree/2f4c37915e51cffa549ce45a0ddeddccd05ef4ee

Some tools like SourceTree allow you to reverse a commit (they do an inverse commit).

@aloisdg
Copy link
Contributor Author

aloisdg commented Mar 23, 2017

@onovotny Thank you. 👍

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

No branches or pull requests

2 participants