github 的使用
进入此页面可以新建一个Repository

可以选择公开或者私有

可以看到这里面没有文件,因此需要把这个Repository(以下简称repos)下载到本地
git clone <url>
主义可以选择HTTP或者SSH作为链接

这一块是url的,把它下载放到服务器上
进入我的工作空间:
cd work

然后执行:
git clone <your url>

这样就把git上面的repos复制到了本地/云服务器
然后进入这个repos
cd hello
ls
然后可以创建一个hello.html
touch hello.html
vim hello.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello!</title>
</head><body>
Hello world!

最低0.47元/天 解锁文章
2929





