Showing posts with label git. Show all posts
Showing posts with label git. Show all posts

Tuesday 2 March 2021

How to get pull particular commit id in git and push in git

 Hello 

Please check below step


mkdir -p projectFolder

cd projectFolder

git init

git remote add origin repoUrl

git fetch origin

git reset --hard gitcommitID

this command use when we want to push our rever

git push --force origin master