Blogger Information
Blog 30
fans 0
comment 0
visits 23494
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
git基本操作
深海巨兽皮皮虾的博客
Original
727 people have browsed it

a.创建本地文件demo

mkdir demo
cd demo

b.使用git管理当前文件

git init

c.将文件移动到当前文件夹

mv ../demo demo

d.将文件上传到缓存区

git commit -m "注释必填"

c.与远程仓库建立连接

$ git remote add origin git@github.com:wangkai4616/zhdemo.git

d.上传文件

$ git push -u origin master


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post