Tuesday, March 26, 2019

Git command to reset local changes to streamline with remote repository


Run below command

$ git reset --hard origin/<branch name>

check git status using below command,

$ git status

No comments:

Post a Comment