setup-git-aliases 272 Bytes
Newer Older
1 2 3 4 5 6 7 8
#!/usr/bin/env bash

GITCONFIG="git config"

# General aliases that could be global
${GITCONFIG} alias.prepush 'log --graph --stat origin/master..'

# Alias to push the current topic branch to Gerrit
9
${GITCONFIG} alias.gitlab-push "!bash Scripts/GitSetup/git-gitlab-push"