Explain the uses of git commands?
Answer / Atul Dwivedi
Git commands are used to manage source code and version control systems. Some common Git commands include init (initialize a new repository), add (stage changes for commit), commit (save changes with a message), branch (create or switch branches), merge (combine changes from different branches), pull (fetch and merge changes from remote repositories), push (send local commits to the remote repository), and tag (label specific commits for easier reference).
| Is This Answer Correct ? | 0 Yes | 0 No |
What does commit object contain?
How can you fix a broken commit?
What is a distributed vcs?
What is ‘bare repository’ in GIT?
Name a few Git repository hosting services
What is subgit?
What work is restored when the deleted branch is recovered?
What is a git commit and what does the commit object contain?
How do you configure a git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?
What is a commit message?
What is ‘git status’ is used for?
What is the function of ‘git config’?