Git - pulling causes deleting files -
after running 'git pull origin' against main branch, new files, committed, in branch marked deleted. have run
git reset
and
git checkout ---.
to recover files.
in situation, how merge main branch branch?
first, need after editing local files commit files following command:
git pull origin
and make change of files
git add . git commit -m "text"
then should commited pulling files remote repository following command:
git push origin
Comments
Post a Comment