File: setup-upstream-remote.sh

package info (click to toggle)
golang-mux 0.0~git20140505.1.136d54f-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 180 kB
  • ctags: 146
  • sloc: sh: 90; makefile: 3
file content (8 lines) | stat: -rwxr-xr-x 160 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e

upstream='https://github.com/gorilla/mux.git'

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