Answer the question
In order to leave comments, you need to log in
Is it possible not to copy the entire project to a flash drive in order to transfer it from home to work, but simply copy the .git folder?
In the git, after all, all changes are fixed? I tried it now and it seems to work. But I am not a professional in git and programming in general. I don't want that one day some problem associated with this method of transferring the project will cause bugs and loss of time.
Answer the question
In order to leave comments, you need to log in
Is it possible not to copy the entire project to a flash drive in order to transfer it from home to work, but simply copy the .git folder?
git reset --hard
to restore the working directory.
If you can do a git pull at work, then the flash drive in this story is superfluous
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question