Using GIT on USB stick for “travelling code”

前端 未结 5 1771
野趣味
野趣味 2020-12-03 07:36

I have exhaustively searched for answers to my question here and on Google. I have found some great resources and learning tools for understanding Git and what it does, but

5条回答
  •  -上瘾入骨i
    2020-12-03 08:02

    Try keeping a bare repo on the usb stick and clone it to the machines you are working on.

    Before you pack up for the day or complete to remove your stick, push your changes back to the "origin" (which is the bare repo on the stick).

    When you open up on your other workstation (home?) fetch your changes.

提交回复
热议问题