Copying a git repository to USB drive

后端 未结 4 1025
暖寄归人
暖寄归人 2021-02-13 17:27

I am working on an Open Source project and I have a git repo on my machine with all the code. The repo is kind of big, and I would like to keep working on it while I do not have

4条回答
  •  庸人自扰
    2021-02-13 17:41

    It will work, but certain config variables won't travel with you.

    Git has three levels of configuration: system-wide (all users on a PC), global (user-specific) and repo-specific.

    The repo-specific configs will move around with your repo; the system and global configs won't. I would check your config files and if necessary also grab a copy of your user-specific configs.

提交回复
热议问题