What is the difference between ‘git remote’ and ‘git clone’?
Answer / Richa Bhatnagar
Git clone is a command used to create a local copy of a remote repository. It initializes an empty Git directory, creates branches, tracks files, and checks out the 'master' branch by default. On the other hand, git remote is used to manage the relationships between your local repository and remote repositories (origin), which allows you to push or pull changes to and from those repositories.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between git and github?
What is a commit message?
Why git and not svn?
What is difference between fork and branch? How to create tag?
How can you use git bisect to determine the source of a (regression) bug?
How will you know in git if a branch has already been merged into master?
What is a “conflict” in git and how is it resolved?
What is a repository in GIT?
Distinguish between git fetch and git pull?
What is GIT stash?
How to squash or fixup commits?
What is the command you can use to write a commit message?