Root directory of my git project deleted, and I have no idea why -
this question has answer here:
this output of git status
:
changes not staged commit: (use "git add/rm <file>..." update committed) (use "git checkout -- <file>..." discard changes in working directory) deleted: freecodecamp no changes added commit (use "git add" and/or "git commit -a")
freecodecamp
root directory of git project, , such can't perform git commands. have no idea how happened, may helpful know common git commands are. on regular basis, add files git repo , push them remote @ end of day.
does know how happened?
freecodecamp root directory of git project, , such can't perform git commands.
i don't think that's true. if freecodecamp
root directory wouldn't able run git status
show output in question.
this recommendation git status
one:
use "git checkout -- <file>..." discard changes in working directory
running git checkout -- freecodecamp
should restore directory.
Comments
Post a Comment