Git Merge Branches
Tasks
- Navigate to the - /usr/src/kodekloudrepos/demorepository.
- Create a new branch named - nautilusfrom- master.
- Copy the - /tmp/index.htmlfile into the repository.
- Add and commit the copied file to the - nautilusbranch.
- Merge the - nautilusbranch into the- masterbranch.
- Push changes for both - nautilusand- masterbranches to the origin.
Steps
11
Push the local nautilus branch to the remote origin with upstream tracking using:
git push -u origin nautilus
This sends commits to the remote repository, available for collaborators.

Last updated




