citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

git-github-refs (224B)


      1 #!/usr/bin/env bash
      2 
      3 set -e
      4 
      5 upstream=${1:-origin}
      6 
      7 git config --add "remote.$upstream.fetch" "+refs/pull/*/head:refs/pull/$upstream/*"
      8 git config --add "remote.$upstream.fetch" "+refs/pull/*/merge:refs/merge/$upstream/*"
      9 
     10