0

Git – remove local commits

Posted by Chris Straw on November 7, 2019 in Uncategorized |

Tweet When I accidentally merge my branch into develop, I forget the command to remove (reset) any local commits. git reset –hard origin/<branch_name>

Copyright © 2011-2019 Chris Straw All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.