I just did:

alias 'git-submit'="git push -u origin $(git rev-parse --abbrev-ref HEAD)"

There has to be a better way (putting a git alias failed for some reason).

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.