数据结构

git 新建分支以及第一次在新分支内提交代码

git checkout -b xxx

git add .

git commit -m "xxxxxxxx"

git push 

出现如下错误:

fatal: The current branch xxx has no upstream branch.

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

    git push --set-upstream origin xxx

To have this happen automatically for branches without a tracking

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