Skip to content

Instantly share code, notes, and snippets.

@Islands5
Islands5 / upstream.md
Created February 3, 2018 14:01
upstreamのプルリクをfetchのタイミングで取るようにする

これでgitコマンドのエイリアスを作成

git config --global alias.pr-setup "config --add remote.upstream.fetch +refs/pull/*/head:refs/remotes/upstream/pr/*"

プロジェクト内で

git pr-setup