0
I committed to a wrong branch and because of that I can no longer push a specific branch because the files that were modified no longer appear. How can I make a forced modification and upload these changes to my branch?
0
I committed to a wrong branch and because of that I can no longer push a specific branch because the files that were modified no longer appear. How can I make a forced modification and upload these changes to my branch?
1
1- Back up what you did.
2- git checkout .
3- git checkout [branch_desejada]
4- git push origin [branch_desejada]
Browser other questions tagged git versioning
You are not signed in. Login or sign up in order to post.
In the commit branch, it contains information that you can play in the main repository?
– Bruno Maciel