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 a blob How…
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 name stored in…
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 versions in the…
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 message? How to…
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 and SVN? Two…
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 of pushing the…
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 reverse? In what…
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 – Now time…
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 wheather your branches…
Read more »Git Troubleshooting | Git Troubleshooting Techniques
export GIT_CURL_VERBOSE=1 git push -u origin –all –verbose git config –list & GIT_CURL_VERBOSE=1 git push & export GIT_CURL_VERBOSE=1 git push git config –global http.postBuffer There are useful to debug, long…
Read more »Git alias commands collection for faster easier
BASH aliases for GIT Following BASH aliases can be used in ~/.BASHRC alias g = “git status” alias ga = “git add” alias gaa = “git add .” alias gc…
Read more »A Successful Git branching model | Git branching model Guide
I was reading article and thought to repost here. It focuses around Git as the tool for the versioning of all of our source code. Why git? For a thorough discussion…
Read more »