Every time, when I want to push, I use this command:
$ git push
And it throws this error:
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream origin master
And the error will be gone when I use this command:
$ git push origin master
Ok, I can always use this ^ command, but I want to knon, can I say to git, {when I say push
, I mean push origin master
} once forever?