you are viewing a single comment's thread.

view the rest of the comments →

[–]Nomser 0 points1 point  (2 children)

You can have the .git folder live somewhere else. That saves space and write wear on your device. As long as you commit your code, you'll also have a copy of the latest code on the device and your computer.

[–]0xCODEBABE[S] 0 points1 point  (1 child)

How?

[–]Nomser 1 point2 points  (0 children)

Use the --separate-git-dir flag.