Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

Fix issue fatal: Failed to resolve HEAD as a valid ref

0 votes
added Feb 23, 2018 in Git by LC Marshal Captain (26,080 points)
  1. git clone the same project to new folder to your local. e.g git clone https://[email protected]/myrepo/folder.git new-folder
  2. Copy the .git folder of the new cloned project into your problem directory

Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.