Skip to content

Commit

Permalink
Add documentation on how to migrate changes to platform
Browse files Browse the repository at this point in the history
  • Loading branch information
desa committed Jul 26, 2018
1 parent 5033c4a commit 02e99ce
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions platform_migrate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Migrate code to Plaform

### Cherry pick commits onto `platform-migrate` branch in 1.X chronograf

```sh
git checkout platform-migrate
git cherry-pick <sha>
```

### Push those to origin in chrongoraf

```sh
git push origin platform-migrate
```

### Cherry pick commit from `platform-migrate` branch onto branch in platform

If this is the first time you are doing this you'll need to add chronograf as a remote
platform.

```sh
git remote add chronograf [email protected]:influxdata/chronograf.git
```

If not, just fetch the remotely added chrongoraf.
```sh
git fetch chronograf
```

And then
```sh
git checkout -b cherry/<pick a name>
git cherry-pick <sha from platform-migrate>
git push origin cherry/<pick a name>
```

### Open PR.

Use the github.

0 comments on commit 02e99ce

Please sign in to comment.