Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Last active February 16, 2021 02:17

Revisions

  1. ElijahLynn revised this gist Mar 16, 2015. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -5,4 +5,7 @@
    // git clone embed-external-upstream EE-upstream
    // cd EE-upstream

    git -C ../embed_external/ diff --relative 76da308..HEAD . | patch -p1
    git -C ../embed_external/ diff --relative 76da308..HEAD . | patch -p1

    // http://stackoverflow.com/a/9507417/292408
    // http://stackoverflow.com/a/20115678/292408
  2. ElijahLynn created this gist Mar 16, 2015.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // Say you have a Repo and you are in a few levels deep. /profiles/publisher/modules/contrib/
    // You have a module called ../contrib/embed_external
    // You want to pull changes you made to it to upstream
    // pwd ../contrib
    // git clone embed-external-upstream EE-upstream
    // cd EE-upstream

    git -C ../embed_external/ diff --relative 76da308..HEAD . | patch -p1