Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Interview Questions and Answers|
|Ans. "git init" creates an empty repository or can make an existing directory a git repository while "git clone" first internally calls "git init" to create an empty git repository and then copy the data from the specified remote repository.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  git init   git clone   git init vs git clone basic|
|How can you check if a String is a 10 digit number by using regular expression ?|
| Write a program to print two digit numbers that fulfil following criteria|
Summing their digits and then multiplying with 3 should result in the number
For ex - 27 , (2+7) * 3 = 27
|What is the difference between GIT Commit and Push ?|
|What is cloning in GIT ?|
|difference between git add , git commit and git push ?|
|What is the purpose of rebasing the branch|
|Difference between git fetch and git pull ?|
|How to calculate distance between 2 points using latitude longitude ?|
|write a program for 4 digit otp generation?|