Wednesday, May 23, 2018

GIT force checkout overwrite local files

GIT force checkout overwrite local files
  • reverting changes
  • removing new files
  • get latest from remote repository
git reset HEAD --hard
git clean -f -d
git pull origin master

No comments:

Post a Comment

AWS how to delete VPC when it has error with Network interface , Gateway decencies

   how to delete VPC when it has error with Network interface , Gateway decencies  in AWS 1. Check if it is running on EC2 instance then Sto...