NEW
Font size
WorksheetsGIT
Total questions: 15
Worksheet time: 8mins
Which of the below is a source code
management tool?
Jenkins
Maven
Git
Hudson
Which one of the Source Code Management tool is distributed
Tortoise SVN
Git
BitBukcet
All of them
Git is
Open Source Project
Distributed Version Control System
secured by SHA1
All of them
git init is used to
Creates a new local repo
Adds configuration
remote pull the central pull
synchronize local repo with central repo
git commit command use to
push changes from local repo to central repo
stage changes
push changes from staging area to local repo
all of them
git add command is used as
staging command
push command for central repo
add command for local repo
All of them
git commit -m < ? >, ? is for
file name to be commited
comment
repo url
None
git branch -b <branchName>, -b indicates
branch name you want to jump to
branch needs to get created
branch needs to be fetched from central repo
nothing
Right command to stage all files
git add
git add *
git add <fileName>
None
command use to connect remote repo with local repo
git remote add
git init
git connect repo
git configure
.......... is equivalent to fetch and merge
pull
syncronize
push
fetch
............. command is to create git branch
git checkout <branchName>
git create-branch <branchName>
git branch <branchName>
git -b <branchName>
git fetch will pull code from remote and merge it with local development work
True
False
Correct command to push your changes to X branch
git push origin master X
git push origin X
git push branch X
git push X
Which one of them is incorrect command
git add Test.txt
git pull origin master
git push origin master
None
