open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
Git · Advanced
10 questions · Question 1 of 10
10%
Multiple Choice
Senior
What is the difference between git clone , git clone --bare and git clone --mirror ?
A
Let's say you have made mulitple commits, but the last few were bad and you want to rollback to a previous commit: git log // lists the commits made in that repository in reverse chronological order git reset hard <co...
B
In general, git reset function is to take the current branch and reset it to point somewhere else, and possibly bring the index and work tree along.
C
Git hooks can be categorized into two main types: Client Side Hooks Server Side Hooks Client Side Hooks: These are hooks installed and maintained on the developers local repository and are executed when events on the...
D
git clone origin url is primarily used to point to an existing repo and make a clone or copy of that repo at in a new directory.
Previous
Next