- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 111字
- 2021-07-02 21:09:42
Merging codes
To merge code from a different branch, all we have to do is to use the git merge command from inside the branch we're merging to and give it the name of the branch we're merging from. If the two branches cannot be automatically combined, Git will do it for us:

That's usually all there is to it, but sometimes there are overlapping changes in both branches; when that happens, Git knows it's not smart enough to handle the merger on its own.
When we run git merge, it will notify us that there are conflicts. Then, we can use git mergetool to start up the merge resolution tool:

推薦閱讀
- Azure IoT Development Cookbook
- Mastering SVG
- Java面向對象程序開發及實戰
- HDInsight Essentials(Second Edition)
- 利用Python進行數據分析(原書第3版)
- Node Cookbook(Second Edition)
- Java程序設計案例教程
- 打開Go語言之門:入門、實戰與進階
- Building Dynamics CRM 2015 Dashboards with Power BI
- Windows Phone 8 Game Development
- Java 9 with JShell
- Flink入門與實戰
- 高性能PHP 7
- Mastering Drupal 8
- C語言程序設計