File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22#
3- # Sync changes from up stream
3+ # Sync changes from upstream and open a pull request
44#
55# Usage: script/sync-upstream [remote]
66#
99
1010set -e
1111
12+ which -s hub || (echo " This script requires the 'hub' command: http://hub.github.com/" && exit 1)
13+
1214# If there's not an upstream remote, set it.
1315if ! git remote show | grep -q upstream; then
1416 git remote add upstream https://github.com/github/opensource.guide.git
1517fi
1618
1719REMOTE=${1:- " origin" }
1820BASE=" $REMOTE /gh-pages"
19- # TODO: remove once script is working
20- BASE=42b97f47d15422a27a7ac7acd1e3153efc98dc46 # randomly selected old commit for testing
21- HEAD=" upstream/gh-pages "
21+ # FIXME: switch to upstream/gh-pages before this is merged:
22+ # https://github.com/github/open-source-guide/pull/295
23+ HEAD=" upstream/i18n "
2224
2325git fetch upstream
2426git fetch $REMOTE
You can’t perform that action at this time.
0 commit comments