Git Branch Merging


Git Branch Merging


....................................................................................................................................................................

Note:  We can not merge the branches of different Repositories.
We merge the branches in the same repositories.

....................................................................................................................................................................


Command :

git merge <branch_name>

git branches ::::::::::: master development production

we are on branch master   ::::::  * master

we give this command ::::::::  git merge development 

Then this command will merge the development into  the master branch ------  

In which branch we want to merge firstly we will go in that branch with the command checkout and then we will give the command to merge.


.................................................................................................................................................................

If We want to see that merge has happened or not :::::::::::::::::::::::::::::  Then We will give the  







Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5