Git Interview Questions and Answer Part – 8

What are the fundamental concepts in Git’s object model? Commits, trees and leaves Commits, files and branches Commits, tags and branches Commits, snapshots, and references (Ans) What…

Read More

Git Interview Questions and Answer Part – 10

Where can HEAD point? To a branch To a branch or nowhere To a branch or a commit (Ans) To a branch, a commit, a tree, or…

Read More

Git Interview Questions and Answer Part – 7

How to Compute object ID and optionally creates a blob from a file? git hash-object (Ans) git cat-file git update-ref git count-objects How to Update the object…

Read More

Git Interview Questions and Answer Part – 1

Q1. What is GIT? Git is a distributed version control system and source code management (SCM) system with focus to handle small and large projects source code…

Read More

Git Interview Questions and Answer Part – 5

What is the function of ‘git rm’? What is the function of ‘git checkout’ in git? What is the use of ‘git log’? Explain what is commit…

Read More

Git Interview Questions and Answer Part – 4

What is Version control system or Source code manager? Benefits of VCS or SCM? What is Git and What is a repository in GIT? Diffrence between Git…

Read More

Git Interview Questions and Answer Part – 3

What is GIT ? What is difference between GIT & Github ? Why we use GIT ? What is SCM & VCS ? What are the process…

Read More

Git Interview Questions and Answer Part – 2

What is the difference between git pull and git pull? what is ‘working tree’? what is ‘staging area’? How do you resolve git conflicts? What is the difference between git reset and git…

Read More

Enforce the JIRA issue id in a GIT commit message

Enforce the JIRA issue id in a GIT commit message This can be done by using git hooks file location at .git/hooks/commit-msg. Following are the 2 way…

Read More

Best Branching and Merging strategies in Gerrit

Best Branching and Merging strategies in Gerrit Step 1 – First Lets read this article about Best Branching and Merging strategies in git http://www.scmgalaxy.com/tutorials/best-branching-and-merging-strategies-in-git/ Step 2 –…

Read More

Best Branching and Merging strategies in git

Best Branching and Merging strategies in git Step 1 – First you need to learn the needs of branches. This is very good read. https://docs.microsoft.com/en-us/vsts/repos/tfvc/branching-strategies-with-tfvc?view=vsts Step 2…

Read More

How to revert the changes once its submitted in Gerrit

How to revert the changes once its submitted in Gerrit The Revert button is available if the change has been submitted. This Reverts the change via creating…

Read More

What is a Change and Patch set in Gerrit?

Here is the short and quick description of Gerrit key teminology. Change Every time you push a commit with a new Change-Id Gerrit allocates a new change….

Read More

How to replace Changes after the Gerrit review without changing the commit id?

How to replace Changes after the Gerrit review without changing the commit id? One of the main benefits of code review is the ability to receive and…

Read More

Git Commands Tutorials and Example: Git Fetch – Update remote branch before merge to local branch

Best practice says that before you commit in git, you need to either do git pull or git fetch/merge. However, there is a way to find out…

Read More

How to compile and build Gerrit Plugins?

To build Gerrit Plugins from source, you need: A Linux or macOS system (Windows is not supported at this time) zip, unzip, wget $yum install zip -y…

Read More

What is “Install Verified label” in Gerrit?

What is “Install Verified label” in Gerrit? The Verified label was originally invented by the Android Open Source Project to mean ‘compiles, passes basic unit tests’. Some…

Read More

What is Enable signed push support in Gerrit?

This options Defaults to false. This ensure When a client pushes with git push –signed, this ensures that the push certificate is valid and signed with a…

Read More

Importannce of Canonical web url in Gerrit

The canonical web url must be set. Optional base URL for repositories available over the anonymous git protocol. For example, set this to git://mirror.example.com/base/ to have Gerrit…

Read More

How to backup and restore Gerrit server?

How to backup and restore gerrit server? There are 3 coponent which should be backed up in gerrit Repository – According to me best way to backup…

Read More

How Gerrit Works?

When Gerrit is configured as the central source repository, all code changes are sent to Pending Changes for others to review and discuss. When enough reviewers have…

Read More

Advantages of Git over SVN and perforce

What are the advantage of GIT over Subversion and perforce? Code development has its negative and positive sides, but anything that brings more relief and gains time…

Read More

Enroll for Git Training Online Part 1 on 10 Feb 2015

Enroll for Git Training Online Part 1 on 10 Feb 2015, 8:00 PM Support email – info@scmgalaxy.com Phone – 7004835930 Fees – INR 2000 To Know more – Click…

Read More

Git Error: -Git Polling Log java.io.IOException: error=2, No such file or director

rajeshkumar created the topic: Git Polling Log java.io.IOException: error=2, No such file or director Error Started on Sep 15, 2015 9:57:00 AM Using strategy: Default [poll] Last…

Read More

Modified files after each build

setu.sin created the topic: Modified files after each build Hi All, I need to send the modified files to an external API after each build in jenkins….

Read More

Good GIT SCM Video at youtube.

rajeshkumar created the topic: Good GIT SCM Video at youtube.Hi Friends, This week I am started digging more into to GIT. I hope these videos will be…

Read More

Git Web References & Cheatsheet

rajeshkumar created the topic: Useful website Reference for GIT Here are following website good to know more about GIT-SCM. help.github.com/ progit.org/ git-scm.com/ whygitisbetterthanx.com/ Regards, Rajesh Kumar Twitt…

Read More

This user is in an organization and can’t be deleted.

scmuser created the topic: This user is in an organization and can’t be deleted. Following error while deleting users from git gub. This user is in an…

Read More

What does commit object contain and What is SHA1?

rajeshkumar created the topic: What does commit object contain and What is SHA1? The SHA All the information needed to represent the history of a project is…

Read More