File: setup-upstream-remote.sh

package info (click to toggle)
golang-gocapability-dev 0.0~git20150716.0.2c00dae-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 128 kB
  • sloc: sh: 94; makefile: 8
file content (8 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e

upstream='https://github.com/syndtr/gocapability.git'

if ! git remote | grep -q upstream; then
	( set -x; git remote add upstream "$upstream" )
fi