0
0
Gitdevops~10 mins

git pull to download and merge - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to download and merge changes from the remote repository.

Git
git [1]
Drag options to blanks, or click blank then click option'
Acommit
Bpush
Cpull
Dclone
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'git push' instead of 'git pull'.
Confusing 'git clone' with updating an existing repo.
2fill in blank
medium

Complete the command to pull changes from the remote named 'origin'.

Git
git pull [1]
Drag options to blanks, or click blank then click option'
Amaster
Bbranch
Ccommit
Dorigin
Attempts:
3 left
💡 Hint
Common Mistakes
Using the branch name instead of the remote name.
Using 'commit' or 'branch' which are not remote names.
3fill in blank
hard

Fix the error in the command to pull from 'origin' and branch 'main'.

Git
git pull origin [1]
Drag options to blanks, or click blank then click option'
Amain
Borigin
Cmaster
Dpush
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'master' when the branch is 'main'.
Repeating 'origin' as branch name.
Using 'push' which is a different command.
4fill in blank
hard

Fill both blanks to complete the command that pulls from remote 'origin' and branch 'develop'.

Git
git [1] [2] develop
Drag options to blanks, or click blank then click option'
Apull
Bpush
Corigin
Dclone
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the remote and command positions.
Using 'push' instead of 'pull'.
5fill in blank
hard

Fill all three blanks to complete the command that pulls and merges from remote 'upstream' branch 'feature'.

Git
git [1] [2] [3]
Drag options to blanks, or click blank then click option'
Apull
Bupstream
Cfeature
Dorigin
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'origin' instead of 'upstream' for the remote.
Mixing up branch and remote names.