android - How to keep using git after switch from Windows to Linux (Ubuntu)? -


i swapped os windows ubuntu , after installing android studio copied projects new androidstudioprojects the.git folders in there too. now, how keep tracking projects github same progress when using windows? sorry if stupid question btw.

i did copy .git directory. if git status on project directory files come in red if not being tracked. worried me.

if copied .git folder, git detect files of working directory has been deleted.

the thing have restore them.

beware, verify working directory empty or loose files.

if that's case, run:

 git checkout . 

or (that should same) :

  git reset --hard head  

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -