Answers for "there is no unstaged changes in the working directory."

CSS
0

! [remote rejected] master -> master (Working directory has unstaged changes)

Enter your server's repo directory

rm -r *
git reset --hard


Then you can push as usual on the local machine/dev
Posted by: Guest on January-12-2021
3

discard unstaged changes git

#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert
Posted by: Guest on October-09-2020

Code answers related to "there is no unstaged changes in the working directory."

Browse Popular Code Answers by Language