2025年1月7日星期二

git push

 C:\MDAL> git push

Username for 'https://github.com': user007

Password for 'https://user007@github.com':

Everything up-to-date


从master分支切换到mike21_mesh_optimize分支


C:\MDAL> git status

On branch mike21_mesh_optimize

nothing to commit, working tree clean


C:\MDAL> git push

fatal: The current branch mike21_mesh_optimize has no upstream branch.

To push the current branch and set the remote as upstream, use


    git push --set-upstream origin mike21_mesh_optimize


To have this happen automatically for branches without a tracking

upstream, see 'push.autoSetupRemote' in 'git help config'.

没有评论: