This command reset local changes and remove the files in local changes and pulls the latest code from git.Please add branch name in pull command.
Command:
git reset –hard
git clean -fxd
git pull origin /* your Branch */
This command reset local changes and remove the files in local changes and pulls the latest code from git.Please add branch name in pull command.
Command:
git reset –hard
git clean -fxd
git pull origin /* your Branch */
Leave a comment