Ubuntu中安装git与使用方法

xiaoxiao2021-02-28  32

今天老大让我在Ubuntu中安装git,今天才接触的git还不是很熟,记录下。

要完成在git上下载一个文件。

1、sudo add-apt-repository ppa:git-core/ppa

2、sudo apt-get update

3、sudo apt-get install git

查看版本号:

git --version

由于我是在windows上配置好了公私钥都有了直接copy到相应目录。

接下来你想在git下去下载什么文件就可以直接使用sudo git clone gitolite@github.com:test.git

转载请注明原文地址: https://www.6miu.com/read-600393.html

最新回复(0)