My workflow with new branches is:
git checkout -b <new branch name>
// making changes, commit the changes
git push -u origin <new branch name>
Is there any way to push the local branch to a new remote branch without writing the name of the branch again (local and remote branch will have the same name)? Everyday I make at least 1 feature branch with really long name and at the end of the day I have to go back to JIRA board to get project IDs and other things required for the convention. I'm just curious if there is some hack to get the local branch name and pass it directly to git push -u origin <local branch name>