1.首先,当前项目已经分别和码云和github连接成功,码云和github的连接方式可以查看之前的帖子:
https://blog.csdn.net/qq_41318914/article/details/119254251(git在Windows平台上安装步骤) https://blog.csdn.net/qq_41318914/article/details/119278910(pycharm、IDEA如何上传代码到码云(gitee)) https://blog.csdn.net/qq_41318914/article/details/119257488(pycharm、IDEA、PhpStorm、WebStorm(JetBrains全家桶)如何上传代码到github)
2.按照下图找到“Commit”  3.然后选择“Commit and Push”  4.单击图中的“github”  5.这里显示的“github”和“orign”对应的就分别是提交到github或者码云上,可以根据需要只提交到github或者码云上。  6.如果两个平台都需要提交,可以在提交到一个平台之后,在下图位置再次点击“push”,然后选择另一个没有提交的平台即可。 
|