Blog Archives

01: 12+ Git Source control must know basics interview Q&As

Q1. How does Git differ from SVN?

#1. Git is a distributed source control system meaning that there will be multiple client repositories. SVN is one repository with lots of clients. GIT is decentralized to a point where people can track their own edits locally without having to push things to an external server.


You checkout from a trunk or a branch from a central SVN repository with the checkout or “co” command.

In Git:

a) You “clone” a company wide “master” repository to your local repository. When you clone, …


02: 6 More Git interview Q&As

Extending 8 Git Source control system interview questions & answers. Q1. What do you understand by the term patch or pull request? A1. A patch means change sets you want to communicate and apply to another repository. Nowadays, the GitHub “pull request” makes it really easy to apply patches on…

03: Understanding Git terms origin, master, and head

Q1. What is a .git folder? A1. Like .SVN folder for subversion holding the metat data, .git folder holds the Git meta data like remote repository, branch names, etc. If you do

it shows that you are on the branch “myapp-integration”

take note of the “config, HEAD, MERGE_HEAD,…

04: Git Merging Vs rebasing interview questions and answers

Q1. What do you understand by the terms merging and rebasing? Can you explain both with a daiagram? A1. Both of these commands are designed to integrate changes from one branch into another branch—they just do it in very different ways. When developers work in parallel and commit changes to…


05: Git & Maven for releasing software artifacts Q&A

Q1. What are the general steps involved in making a software release?

#1: Checking out the software artifacts to you build serevr or local box from a source control management (i.e. SCM) system.

#2: Giving it a version so it can be uniquely identifieds

#3: Building, testing and packaging the artifacts.

#4: Deploying the built artifacts a repository like Nexus where the artifacts can be picked up for for actual roll out on target servers by the release team.

#5: Tagging this state in SCM so it can be associated with the matching artifacts.

Q2. How …


06: Git interview Q&As on stashing uncommitted changes

Q01. What is a git stash command, and when do you need to use it? A01. Here are some scenarios where stash command will come in very useful. Scenario 1: Often you will not be able to make code changes in the master branch. You need to create a feature…

Git commands used in a typical project

Let’s look at some of the key commands developers & data engineers will be using with git. Clone Firstly, you need to clone a project from a remote repository to your local repository. You can get the ssh or https URL from your remote repository like GitHib, BitBucket, etc via…

Setting up Cygwin with Git Tutorial

Step 1: Download and install Cygwin.

Add additional packages to the Cygwin setup. Advance through the setup wizard accepting all default options until the “Select Pages” dialog is reached. Enter the word git into the Search input field and from the filtered list presented in the main dialog form select all relevant Git packages as per the following image:

Select “Next” until the selected options as added to the local Cygwin installation.

Also search ssh and install as required.

Step 2: Configure global Git settings.

Create the global Git configuration file a.k.a .gitconfig and place into the user’s Cygwin home …

300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials