forked from influxdata/chronograf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation on how to migrate changes to platform
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |