分类 编程 下的文章

  • 安装wget
[root@localhost ~]# yum -y install wget
  • 下载三方源

# 以阿里云yum源为例
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# wget http://mirrors.aliyun.com/repo/Centos-7.repo

- 阅读剩余部分 -

一、新建代码库

# 在当前目录新建一个Git代码库
$ git init

# 新建一个目录,将其初始化为Git代码库
$ git init [project-name]

# 下载一个项目和它的整个代码历史
$ git clone [url]

- 阅读剩余部分 -