DYBOY's Blog

Git命令

首先得添加ssh

create a new repository on the command line
echo "# 3yan2yuAPP" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:dyboy2017/3yan2yuAPP.git
git push -u origin master
push an existing repository from the command line
git remote add origin git@github.com:dyboy2017/3yan2yuAPP.git
git push -u origin master
HTTPS方式:

唯一的不同点就是

create:
git remote add origin https://github.com/dyboy2017/3yan2yuAPP.git

push:
git remote add origin https://github.com/dyboy2017/3yan2yuAPP.git
标签:学习笔记
版权声明:《 Git命令 》为DYBOY原创文章未经允许不得转载。

 DYBOY
 作者签名:安全从业者,爱好安全产品开发,渗透测试,Web漏洞研究

发表评论:

用心评论~

TOP
Powered by Emlog | Theme:Monkey by DYBOY
渝ICP备16008772号
sitemap