Name some git commands and also explain their functions?
Answer / Aditya Kumar Pandey
1) `git init` - Initializes a new Git repository. 2) `git clone` - Clones an existing repository to your local machine. 3) `git add` - Stages changes to be committed. 4) `git commit` - Commits the staged changes with a message. 5) `git status` - Shows the current state of files in the repository. 6) `git pull` - Pulls updates from the remote repository. 7) `git push` - Pushes commits to the remote repository. 8) `git branch` - Lists all local branches. 9) `git merge` - Merges changes from one branch into another.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the common branching pattern in GIT?
What is rebasing syntax in git?
what is git fork? What is difference between fork and branch? How to create tag?
What is ‘bare repository’ in GIT?
What is the function of ‘git checkout’ in git?
What is git fork?
Name a few git commands?
What is ‘head’ in git and how many heads can be created in a repository?
What is git bisect? How can you use it to determine the source of a (regression) bug?
What is git Is-tree?
What is the function of ‘git config’?
What are git repository hosting services you used?