I had a branch that I wanted to merge with the master. I used the following commands:
git checkout master git merge lwIP And I obtained the following answer, that I think it's correct:
fer@fer-Inspiron-5558:~/workspaceSDK/ControlMetro$ git merge lwIP Updating 2f1a663..0ce296e Fast-forward .../sensores/sensores_botones.c | 6 +- src/app/control_metro/main.c | 15 +- .../{funciones_com_VGA.c => funciones_com_lwIP.c} | 94 +++++- .../funciones_comunicacion.h | 1 + .../tarea_comunicacion.c | 8 +- src/hw_services/display_vga/display_vga.c | 2 +- src/hw_services/hal_core/gpio_services.c | 171 +++++++++++ src/hw_services/hal_core/gpio_services.h | 29 ++ src/hw_services/hal_core/hw_abstraction.c | 314 --------------------- src/hw_services/hal_core/hw_abstraction.h | 52 ---- src/hw_services/hal_core/timer_services.c | 281 ++++++++++++++++++ src/hw_services/hal_core/timer_services.h | 74 +++++ src/hw_services/lwIP/lwIP_server.c | 164 +++++++++++ src/hw_services/lwIP/lwIP_server.h | 17 ++ 14 files changed, 844 insertions(+), 384 deletions(-) rename src/app/control_metro/tarea2_comunicacion_exterior/{funciones_com_VGA.c => funciones_com_lwIP.c} (56%) create mode 100644 src/hw_services/hal_core/gpio_services.c create mode 100644 src/hw_services/hal_core/gpio_services.h delete mode 100644 src/hw_services/hal_core/hw_abstraction.c delete mode 100644 src/hw_services/hal_core/hw_abstraction.h create mode 100644 src/hw_services/hal_core/timer_services.c create mode 100644 src/hw_services/hal_core/timer_services.h create mode 100644 src/hw_services/lwIP/lwIP_server.c create mode 100644 src/hw_services/lwIP/lwIP_server.h Then I try to delete the lwIP branch, and it give me the next error:
fer@fer-Inspiron-5558:~/workspaceSDK/ControlMetro$ git branch -d lwIP warning: not deleting branch 'lwIP' that is not yet merged to 'refs/remotes/origin/lwIP', even though it is merged to HEAD. error: The branch 'lwIP' is not fully merged. If you are sure you want to delete it, run 'git branch -D lwIP'. And then it's impossible to push it... I'm really new at Git, and I was following the tutorial on Git page, but I don't know how to solve this.
Thanks!