• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Git by
Q:
How do you create a Repository in Git?

1 Answer

0 votes
by

To create a repository, you need to create a directory for the project if it does not already exist, and then simply execute the command “git init”. By executing this command, a .git directory will be created inside the project directory i.e. now your project directory has turned into a Git repository.

Related questions

0 votes
asked Sep 5, 2020 in Git by SakshiSharma
0 votes
asked Oct 16, 2019 in Git by rajeshsharma
...