Badri Posted on Jul 7, 2021 • Edited on Jul 9, 2021 How to revert local branch to the remote branch commit? #github #git git reset --hard origin/upstream_branch_name This replaces the local branch with remote branch. Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)