Skip to content

wenfanchao/iosdown

Repository files navigation

第一次使用git命令提交代码

  • 在新文件夹中使用 git init 命令
$ sudo git init
  • 创建 README.md 文件
$ sudo touch README.md
  • 使用 git commit 命令
$ sudo git commit -m "提交描述"
  • 使用 git remote 增加一个新的远程仓库,并命名
$ sudo git remote add [仓库名称] [仓库地址]
  • 取回远程仓库的变化,并与本地分支合并
* sudo git pull [仓库名称] [分支名称]
  • 上传本地指定分支到远程仓库
$ sudo git push [仓库名称] [分支名称]

其他有用的命令

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published