File: setup-upstream-remote.sh

package info (click to toggle)
golang-pty 1.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 216 kB
  • sloc: sh: 108; makefile: 3
file content (8 lines) | stat: -rwxr-xr-x 155 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e

upstream='https://github.com/kr/pty.git'

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