close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_fs-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
2018-09-13
Git
- merge 遇到 fatal: refusing to merge unrelated histories 錯誤訊息
- 原因:從 git 2.9.0 開始預設行為不允許合併沒有共同祖先的分支。你需要加上 --allow-unrelated-histories 選項才不會出現這個錯誤訊息。
- 參考:https://github.com/doggy8088/Learn-Git-in-30-days/issues/31
~/docker-pool$ git branch
* docker-kafka
master
~/docker-pool$ git merge docker-kafka
fatal: refusing to merge unrelated histories
~/docker-pool$ git merge --allow-unrelated-histories docker-kafka
Merge made by the 'recursive' strategy.
kafka/Dockerfile | 27 +++++++
kafka/LICENSE | 201 +++++++++++++++++++++++++++++++++++++++++++++++
kafka/scripts/start-kafka.sh | 75 ++++++++++++++++++
kafka/supervisor/kafka.conf | 4 +
kafka/supervisor/zookeeper.conf | 4 +
5 files changed, 311 insertions(+)
create mode 100644 kafka/Dockerfile
create mode 100644 kafka/LICENSE
create mode 100755 kafka/scripts/start-kafka.sh
create mode 100644 kafka/supervisor/kafka.conf
create mode 100644 kafka/supervisor/zookeeper.conf
Download in other formats: