






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
GIT INTERVIEW QUESTIONS. 1)What is GIT? GIT is a distributed version control system and source code management (SCM) system with an emphasis to handle small ...
Typology: Schemes and Mind Maps
1 / 10
This page cannot be seen from the preview
Don't miss anything!







1)What is GIT? GIT is a distributed version control system and source code management (SCM) system with an emphasis to handle small and large projects with speed and efficiency. 2 ) What is the command you can use to write a commit message? The command that is used to write a commit message is “git commit – a”. The – a on the command line instructs git to commit the new content of all tracked files that have been modified. You can use “git add
19 ) What is the purpose of branching in GIT? The purpose of branching in GIT is that you can create your own branch and jump between those branches. It will allow you to go to your previous work keeping your recent work intact. 20 ) What is the common branching pattern in GIT? The common way of creating branch in GIT is to maintain one as “Main" branch and create another branch to implement new features. This pattern is particularly useful when there are multiple developers working on a single project.
54)How do you cherry-pick a merge commit? Cherry-pick uses a diff to find the difference between branches. As a merge commit belongs to a different branch, it has two parents and two changesets. For example, if you have merge commit ref 63ad84c, you have to specify - m and use parent 1 as a base: git checkout release branch git cherry-pick - m 1 63ad84c