Skip to content

Instantly share code, notes, and snippets.

@relvacode
Created July 6, 2017 23:23
Show Gist options
  • Save relvacode/b2c8b3e02b4a59253d5e3d0b0cc1b385 to your computer and use it in GitHub Desktop.
Save relvacode/b2c8b3e02b4a59253d5e3d0b0cc1b385 to your computer and use it in GitHub Desktop.
Developing with telegraf

Setting up a fork of influxdata's telegraf

Checkout your clone of the repo into the correct go path

cd $GOPATH/src/github.com/relvacode
git clone https://github.com/influxdata/telegraf.git telegraf

Link the your version of telegraf into influxdata's

cd $GOPATH/src/github.com/influxdata
ln -s ../relvacode/telegraf telegraf

Set upstream to merge updates

git remote add upstream https://github.com/influxdata/telegraf.git
git fetch upstream
git merge upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment