Professional Documents
Culture Documents
Result & Analysis: Attempt 1
Result & Analysis: Attempt 1
Result & Analysis: Attempt 1
Attempt 1
Rank: NA Rank: NA
39.5 Topper score: 40.00 / 40 39.5 Topper score: 40.00
/ 40
Local
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 1/14
7/23/22, 11:05 PM Hexaware
User CORRECT
System
Global
Junio C. Hamano
Kohsuke Kawaguchi
Linus Torvalds
After you initialize a new Git repository and create a file named git-quiz.html, which of the
following commands will not work if issued?
git status
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 2/14
7/23/22, 11:05 PM Hexaware
git add .
Under which circumstance should you use a single dash within a Git command, as opposed to
a double dash?
Oracle
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 3/14
7/23/22, 11:05 PM Hexaware
Microsoft CORRECT
IBM
git bash
git install
git start
Which file can you configure to ensure that certain file types are never committed to the local
Git repository?
ignore.git
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 4/14
7/23/22, 11:05 PM Hexaware
.gitignore CORRECT
gitignore.txt
git.ignore
Which of these Git client commands creates a copy of the repository and a working directory
in the client’s workspace.
update
checkout
clone CORRECT
import
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 5/14
7/23/22, 11:05 PM Hexaware
Now, imagine that you have a local repository, but other team members have pushed changes
into the remote repository. What Git operation would you use to download those changes into
your working copy?
checkout
commit
export
pull CORRECT
update
What's the git command that downloads your repository from GitHub to your computer?
git push
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 6/14
7/23/22, 11:05 PM Hexaware
git fork
git commit
What's the opposite of git clone, instead of downloading your code from GitHub, uploads your
changes and code back to GitHub?
git add
git upload
git status
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 7/14
7/23/22, 11:05 PM Hexaware
git stage
git commit
git reset
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 8/14
7/23/22, 11:05 PM Hexaware
git fetch
git config
git status
Which command defines the author email to be used for all commits by the current user.
git clean -f
git email--amend
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 9/14
7/23/22, 11:05 PM Hexaware
git commit
git clean -f
git reset
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 10/14
7/23/22, 11:05 PM Hexaware
git reset
git log ..
Command to download all the objects and references from a specified repository
git help
git log -n
git merge
git blame -L
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 12/14
7/23/22, 11:05 PM Hexaware
git remote rm
git rebase
In Git, if you want to make your local repository reflect changes that have been made in a
remote (tracked) repository, you should run the pull command
True CORRECT
False
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 13/14
7/23/22, 11:05 PM Hexaware
First 1 2 Last
https://eiphexaware.examly.io/result?testId=U2FsdGVkX18OHNrfC9TDbq4d3%2BAYW4l3VVx5L4uIbX2JVaOwLH8PCcwITbDMogA4 14/14