【发布时间】:2021-06-21 03:24:15
【问题描述】:
我正在尝试将更改推送到远程分支。
我运行了以下命令:
git fetch origin
git checkout <remote branch>
进行了更改
git add .
git commit .
现在我想推送我的更改。我应该使用哪个命令将更改推送到远程分支。
【问题讨论】:
-
您好,欢迎来到 SO!我建议您首先查看pushing 的 git 文档。 working with remotes 也可能对你有用。