I’ve seen people use
$ git push
and it pushes to their default remote repo/branch
I’ve been using
$ git push hm master
What settings do I need to change so when I type:
$ git push
I don’t see this error:
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
git pushwill try to push to the upstream repository. It looks like you have non configured for your branch. Usegit branch --set-upstream [local_branch_name] [remote_name/remote_branch_name]