- Branch
dev
is automatically mergeadomaster
; this one for your Instead, you have an automatic deploy application. - Branch
dev
has some changes ahead of branchmaster
and will be discarded. - The
feature
branch incorrectly exited from workflow and was created at
frommaster
.
What I need to do is:
Delete changes from dev
and leave it as master
I thought about resetting feature
, deleting it and creating it from dev
but I do not know if this is the solution for those cases.
@edit
After doing dev
, master
and reset
I get the following error because my commit
branch has changes saved in push
.
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again.
hint: See the 'Noteabout fast-forwards' in 'git push --help' for details.