File: setup-git-aliases

package info (click to toggle)
molequeue 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,924 kB
  • sloc: cpp: 22,039; python: 478; xml: 364; sh: 59; makefile: 14
file content (9 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/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
${GITCONFIG} alias.gerrit-push "!bash scripts/git-gerrit-push"