Shell/Bash: git error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken Example

By

Shell/Bash Example: This is the "git error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken" Example. compiled from many sources on the internet by SimpleTutorials.org

git error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken

rm .git/refs/remotes/origin/master
git fetch



* Summary: This "git error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others