Github user danielblazevski commented on the pull request:
https://github.com/apache/flink/pull/1220#issuecomment-207685012
@hsaputra I added apache/flink as upstream, namely:
`git remote add upstream https://github.com/apache/flink.git`
Then I ran what Chiwan above suggested, namely:
```
# fetch updated master branch
git fetch upstream master
# checkout local master branch
git checkout master
# merge local master branch and upstream master branch (this should be
fast-forward merge.)
git merge upstream/master
# checkout local FLINK-1745 branch
git checkout FLINK-1745
# rebase FLINK-1745 on local master branch
git rebase master
# force push local FLINK-1745 branch to github's FLINK-1745 branch
git push origin +FLINK-1745
```
I then moved the 4 knn files originally in flink-staging/ to
flink-libraries/ and pushed again.
The unfortunate thing now is that when I run `mvn clean package
-DskipTests` I get errors (I can show you if you'd like....but I assume the
Travic CI build won't go through and the error will pop up there too). Did I
do something wrong? The good news is that I made a copy of the directory that
I was working in since I've had rebasing problems before, so I can always try
to go back to that and do a force push.
I wonder since I'm only adding new files whether it's even easier to just
clone `apache/master`, run `mvn clean package -DskipTests` put the new files in
there and submit a new PR?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---