$ git push
fatal: The current branch dev has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin dev
解决方法:设置本地分支追踪远程分支
git push --set-upstream origin dev
$ git push
fatal: The current branch dev has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin dev
解决方法:设置本地分支追踪远程分支
git push --set-upstream origin dev