git push has no upstream branch code example
Example 1: The current branch master has no upstream branch.
git remote set-url origin https://github.com/AnneMarieHarm/deliverable_one.git
Example 2: $ git push fatal: The current branch favicon has no upstream branch. To push the current branch and set the remote as upstream, use git push --set-upstream origin favicon
git push -u origin --all
Example 3: the current branch has no upstream branch error
git push -u main --all