Skip to content

jojo-1994/zhihu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zhihu

git的基本命令

git init: 创建git仓库,本地生成.git文件夹

git add .:将项目所有的文件添加到仓库中

git commit -m "xxx commit": 将所有修改单位进stage的改动加入stage,并记录commit.

git remote add origin https://github.com/xxx: 将本地的仓库关联到github上

git pull origin master: 拉取远程主机某个分支的更新

git push origin master: 把当前提交到git本地仓库代码推送到远程主机的某个远程分支上

git push:当前只有一个分支,主机名省略

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published