How to run Git 1.6.x for Windows from a USB memory stick

前端 未结 5 754
無奈伤痛
無奈伤痛 2021-02-13 20:54

I would like to run Git 1.6.x for Windows from a USB memory stick.

There is a Windows version of Git available at: http://code.google.com/p/msysgit/

Installing a

相关标签:
5条回答
  • 2021-02-13 21:31

    Your e-mail address, name and many other settings are stored in the global configuration file .gitconfig in your home dir.

    git-config

    Maybe the -f option helps you for specifing the different location of the config file.

    0 讨论(0)
  • 2021-02-13 21:39

    I'm not sure, if it's the same application as mentioned, but because Google Code doesn't exist anymore, you may try the Git portable on Sourceforge instead.

    0 讨论(0)
  • 2021-02-13 21:42

    When I went to the msysgit download page today, there was a download link for "PortableGit" that was new as of 22MAR09. Using this version might provide you with more of the control you need. I have not tried it, but the name suggests it's geared more toward USB-stick installations.

    0 讨论(0)
  • 2021-02-13 21:53

    I think those are stored in the user part of the local copy of the repository. If they aren't, then you can always override them in the user settings within the .git directory.

    0 讨论(0)
  • 2021-02-13 21:55

    You could use the portable version from http://code.google.com/p/msysgit/

    0 讨论(0)
提交回复
热议问题