Installing Git with non-root user account

前端 未结 6 1542
名媛妹妹
名媛妹妹 2020-12-12 20:37

I\'ve already set up a Git repository on GitHub and committed a few changes from my Windows machine.

But tomorrow I\'ll have to work in this repository from a machin

6条回答
  •  忘掉有多难
    2020-12-12 21:07

    A related answer is https://askubuntu.com/a/350.

    I could get it work with the third method proposed:

    apt-get source git
    cd git_vXXX
    ./configure --prefix=$HOME
    make
    make install
    

    I don't know why, but when I had tried to install from the source download from github instead, I had a lot of problems with missing dependencies

提交回复
热议问题