Can I use git without installing?

前端 未结 2 327
渐次进展
渐次进展 2021-01-08 01:05

I have heard good things about git and I would like to try it out before installing it. This would also be great to put it on a flash drive if I wanted to use git at school.

相关标签:
2条回答
  • 2021-01-08 01:34

    Or you can try out JGit, it is a single bash file that you can run basic Git commands. Git is self contained in that bash script.

    To download JGit, choose the second link (Self contained command line executable) located here http://www.eclipse.org/jgit/download/ once downloaded, rename it to jgit.sh and just run it: jgit.sh (remember to chmod +x jgit.sh)

    0 讨论(0)
  • 2021-01-08 01:34

    Can't you just compile it from source, using --prefix=/path/to/install/folder/ and just make install it to that folder?

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