Git merge: up to date?
So, is there a git repository with branches(those branches) master and feature. the development was carried out in parallel.
Then easily made:
(feature) git merge master
to check if everything works.
Now I'm trying to do:
(master) git merge feature
In response — Up to date
although changes enough
How do I "return" to the master?
Thank you
2 answers
To return to master, use git checkout master.
If you mean that the feature branch has remained somewhere behind, and the master went forward, then merge from master will do nothing. You need to use Merge in the branch you want to move/change. That is, you need to switch to the feature and merge.
Changes from not pulling? with original?
git pull was?
Find more questions by tags Git
"— switch to master and merge feature" - Antonia_Pfeff commented on October 3rd 19 at 02:56
Either send a screenshot from the branches, perhaps I do not understand something. - brock_Labadie commented on October 3rd 19 at 02:59
git checkout feature
git merge master
git checkout master
git merge feature
? - Antonia_Pfeff commented on October 3rd 19 at 03:02
git merge feature
and says:
$ git merge extended_search
warning: refname 'extended_search' is ambiguous.
Already up-to-date. - Antonia_Pfeff commented on October 3rd 19 at 03:08
dyn_sitemap
* extended_search
master - Antonia_Pfeff commented on October 3rd 19 at 03:14
remotes/extended_search/REFNAME - brock_Labadie commented on October 3rd 19 at 03:17
$ git branch -a
ABbilder
dyn_sitemap
* extended_search
fluthilfe
master - Antonia_Pfeff commented on October 3rd 19 at 03:20
Should be something like
And mihalop `git remote` just in case. - brock_Labadie commented on October 3rd 19 at 03:23
But I want to understand where the error grows to rename the branch. - brock_Labadie commented on October 3rd 19 at 03:26
.git/logs/refs/heads/extended_search
.git/refs/heads/extended_search
.git/refs/tags/extended_search - Antonia_Pfeff commented on October 3rd 19 at 03:29
The intersection of tag :) Either rename the tag or branch) Described above) - brock_Labadie commented on October 3rd 19 at 03:32
but damn, where's that tag?(rhetorical question:)) - Antonia_Pfeff commented on October 3rd 19 at 03:35
everything works
now I'll know where to dig in the trail. times - Antonia_Pfeff commented on October 3rd 19 at 03:38