Answer Posted / Km. Archana
Git is a popular version control system. Some essential Git commands include:
1. git init: Initialize a new Git repository within the current directory.
2. git add <file>: Add a specific file to the Git staging area.
3. git commit -m '<message>': Commit the changes in the staging area with a message describing the changes.
4. git push origin <branch-name>: Push the local repository's specified branch to the remote repository (origin).
5. git pull: Pull updates from the remote repository into the local repository.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers