Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a repository and how will you create it?



What is a repository and how will you create it?..

Answer / Sandeep Kumar Ram

A Git repository is a set of files that are tracked by Git. It stores the entire history of changes made to those files, including commits, branches, and tags.nnTo create a new Git repository, follow these steps:nn1. Initialize an existing directory as a Git repository using the command: `git init`.n2. Create a new file in the repository and make initial commit: `git add filename` followed by `git commit -m "Initial Commit"`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

What is a ‘conflict’ in git?

1 Answers  


Explain the gitflow workflow?

1 Answers  


Name a few git commands?

1 Answers  


How to revert previous commit in git?

1 Answers  


How is git instaweb used?

0 Answers  


How can you create a repository in Git?

1 Answers  


How to create tag?

1 Answers  


What is the difference between the ‘git diff ’and ‘git status’?

1 Answers  


What is the difference between ‘git remote’ and ‘git clone’?

1 Answers  


Describe the branching strategies you have used.

1 Answers  


What is the difference between rebasing and merge in git?

1 Answers  


How will you know in git if a branch has already been merged into master?

1 Answers  


Categories