git push
推送提交到远程仓库。 更多信息:https://git-scm.com/docs/git-push。
- 将当前分支的本地更改推送到其默认的远程对应分支:
git push
- 将指定本地分支的更改推送到其远程对应分支:
git push
- 将指定本地分支的更改推送到其远程对应分支,并将该远程分支设为该本地分支 push/pull 的默认目标分支:
git push
- 将指定本地分支的更改推送到指定的远程分支:
git push :
- 将所有本地分支的更改推送到指定远程仓库中各个对应分支:
git push --all
- 删除远程仓库中的分支:
git push
- 删除没有本地对应分支的远程分支:
git push --prune
- 推送本地的新标签到远程仓库:
git push --tags
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
