- Take me to Practice Test
Solutions to practice test - fetching and pulling
-
Run git checkout master; git fetch origin master to fetch remote changes
Details
$ git checkout master $ git fetch origin master -
To view all the branches- both local and remote - run the git branch -a command.
Details
$ git branch -a -
Run git merge origin/master
Details
$ git merge origin/master -
Run git pull origin master
Details
$ git pull origin master -
Run the ls command while in the master branch
Details
$ ls