Skip to content

Instantly share code, notes, and snippets.

@tynes
Created September 24, 2021 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tynes/40a3044c0f27c3e17adf5a79d07171d7 to your computer and use it in GitHub Desktop.
Save tynes/40a3044c0f27c3e17adf5a79d07171d7 to your computer and use it in GitHub Desktop.
View the geth diff
#/bin/bash
# view a diff based on a branch that recreates the strucutre
# of actual geth
git clone git@github.com:ethereum-optimism/optimism.git
cd optimism
git checkout only-l2geth
git remote add upstream git@github.com:ethereum/go-ethereum.git
git fetch upstream
git diff v1.9.10 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment