When I’m on master, I only have to type ‘git push’ to push commits to the remote repo. I wish I could do so when I’m on another branch, without specifying the remote name and the branch name. Like that:
Now: git push origin experimental:origin/experimental
Need: git push
You should edit your
.git/configfile. There should be already set something like this:Simply copy the group and edit according to your needs. For example, you could have: