summaryrefslogtreecommitdiff
path: root/git-push-first
blob: 26e50f4365a5c1603483c41e96098432925a24fd (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

eval "$(
  git push 2>&1 \
  | sed '
    $d
  ' \
  | sed -n '
    $p
  '
)"