(i) Git merge : Steps to merge : –> First we have to checkout to a branch where we need child/feature branch files and commits
(i) Default branch is master on git: Observations: Creating files in master branch touch Master-file-1 git add Master-file-1 git commit -m “m1” touch Master-file-2 git
(i) Default branch is master on git: Observations: Creating files in master branch touch Master-file-1 git add Master-file-1 git commit -m “m1” touch Master-file-2 git
1 Creating new branch git branch <branch-name> Ex: git branch feature-1 2 Creating new branch 2 git branch <branch-name> Ex: git branch feature-2 3 Creating
1 Creating new branch git branch <branch-name> Ex: git branch feature-1 2 Rename branch git branch -m <new-name> Ex: git branch -m “feature-one” 3 Move