Answers for "fatal: cannot lock ref 'refs/heads/test/2': 'refs/heads/test' exists; cannot create 'refs/heads/test/2'"

3

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
Posted by: Guest on March-26-2021
0

fatal: cannot lock ref 'HEAD': unable to resolve reference 'refs/heads/main': reference broken PS E:\Nextjs\factyear>

Delete the .git folder with file explorer with view hidden items enabled.
Posted by: Guest on October-13-2021

Code answers related to "fatal: cannot lock ref 'refs/heads/test/2': 'refs/heads/test' exists; cannot create 'refs/heads/test/2'"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language