Tuesday 15 June 2021

GIT force commit

 git clone <repo url>

git status

if any changes u see do - git stash

git fetch --all

git branch -a  (in this u should see qa2.0 branch)

git check out qa2.0

git reset --hard origin/dev2.0

git status

git gui - do force commit here

No comments:

Post a Comment