Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Git Interview Questions
→
Advanced GIT Interview Questions in Git Interview Questions
→
How will you create a git repository?
1.
How will you create a git repository?
Answer»
Have
GIT
installed in your system.
Then in order to
CREATE
a git repository, create a folder for the
PROJECT
and then run git init.
Doing this will create a .git
FILE
in the project folder which indicates that the repository has been created.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is the difference between git stash apply vs git stash pop command?
What does git annotate command do?
What is a detached HEAD and what causes this and how to avoid this?
Explain the levels in git config and how can you configure values using them?
What consists of a commit object?
Can you tell something about git reflog?
How would you recover a branch that has already pushed changes in the central repository but has been accidentally deleted from every team member’s local machines?
What has to be run to squash multiple commits (last N) into a single commit?
What do the git diff and git status commands do?
Can you tell the difference between Git and GitHub?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies