You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.4 KiB

  1. ┏━╸┏━┓┏┓╻┏━╸╻ ╻┏━╸╺┳╸┏━┓
  2. ┃ ┃ ┃┃┗┫┣╸ ┃ ┃┃ ┃ ┗━┓
  3. ┗━╸┗━┛╹ ╹╹ ┗━╸╹┗━╸ ╹ ┗━┛
  4. ┌────────────────────────┐ ┌────────────────────────┐
  5. │ #include <algorithms> │ │ int main() { │
  6. │ <<<<<<< HEAD │ │ int a = 5; │
  7. │ #include <sstream> │ │ <<<<<<< HEAD │
  8. │ ||||||| 9275968 │ │ int b = 4; │
  9. │ ======= │ │ ||||||| 9275968 │
  10. │ #include <string> │ │ int b = 8; │
  11. │>>>>>>> new_feature │ │ ======= │
  12. └────────────────────────┘ │ int b = 9; │
  13. │ >>>>>>> new_feature │
  14. └────────────────────────┘
  15. - Conflict markers appear in the file itself
  16. - Simplest way to handle:
  17. -> directly modify the file
  18. - Git difftool for visual conflict resolving