Changes between Initial Version and Version 1 of jazz/18-09-13


Ignore:
Timestamp:
Sep 13, 2018, 9:39:15 AM (6 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/18-09-13

    v1 v1  
     1= 2018-09-13 =
     2
     3== Git ==
     4
     5* merge 遇到 `fatal: refusing to merge unrelated histories` 錯誤訊息
     6* 原因:從 git 2.9.0 開始預設行為不允許合併沒有共同祖先的分支。你需要加上 --allow-unrelated-histories 選項才不會出現這個錯誤訊息。
     7* 參考:https://github.com/doggy8088/Learn-Git-in-30-days/issues/31
     8{{{
     9~/docker-pool$ git branch
     10* docker-kafka
     11  master
     12~/docker-pool$ git merge docker-kafka
     13fatal: refusing to merge unrelated histories
     14~/docker-pool$ git merge --allow-unrelated-histories docker-kafka
     15Merge made by the 'recursive' strategy.
     16 kafka/Dockerfile                |  27 +++++++
     17 kafka/LICENSE                   | 201 +++++++++++++++++++++++++++++++++++++++++++++++
     18 kafka/scripts/start-kafka.sh    |  75 ++++++++++++++++++
     19 kafka/supervisor/kafka.conf     |   4 +
     20 kafka/supervisor/zookeeper.conf |   4 +
     21 5 files changed, 311 insertions(+)
     22 create mode 100644 kafka/Dockerfile
     23 create mode 100644 kafka/LICENSE
     24 create mode 100755 kafka/scripts/start-kafka.sh
     25 create mode 100644 kafka/supervisor/kafka.conf
     26 create mode 100644 kafka/supervisor/zookeeper.conf
     27}}}