No student devices needed. Know more
15 questions
How do you supply a commit message to a commit?
git message "I'm coding"
git add "I'm coding"
git commit "I'm coding"
git commit -m "I'm coding"
Which vendor acquired GitHub for $7.5 billion in June 2018?
Oracle
Microsoft
IBM
Which command should you use to initialize a new Git repository?
git bash
git install
git init
git start
After you add a file, it becomes
Committed
Modified
Staged
Untracked
How do you check the state of your local git repository since your last commit?
git check
git status
git commit
git diff
Which file can you configure to ensure that certain files are never committed to the local Git repository?
Ignore.git
.gitignore
gitignore.txt
git.ignore
Who is attributed with inventing Git?
Junio C. Hamano
James Gosling
Kohsuke Kawaguchi
Linus Torvalds
After you install Git and prior to issuing the first commit, which two configuration properties does the tool expect to be configured?
username and email address
username and password
email address and password
username and IP address
Which Command is used to show limited number of commits?
git fetch <remote>
git log -n <limit>
git config <limit>
git status
What command removes untracked files from your working directory?
git commit
git clean -f <path>
git clean
git reset
Which programming language was used to create Git?
C
HTML
PHP
C++
1. What is the default text editor for the Bash shell with a Windows-based Git install?
Vim
Emacs
Notepad++
Bash
Which of the following is not a Git configuration scope?
Local
User
System
Global
Which command is useful for getting a high-level overview of the project history?
git log --oneline
git reset --hard
git log --author="<pattern>"
git rebase <base>
To make a new git branch, the git command is?
git branch
git -b
git new branch
git checkout branch
Explore all questions with a free account