Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Basic Git commands

Header Image

  1. Initializing a Git repository
    • The article explains how to create a new Git repository from scratch and emphasizes the importance of initializing a Git repository for proper code management.
  2. Adding files to the repository
    • The article covers the process of adding files to be tracked by Git, including using the git add command and adding multiple files at once.
  3. Committing changes
    • This article covers the basics of creating a new commit in Git, including how to use the git commit command and write clear commit messages.
  4. Viewing repository status
    • This article covers the use of the git status command to check the status of a Git repository and see which changes have been made.
  5. Viewing commit history
    • The article covers how to view the history of commits in a Git repository using the git log command, along with options to get more detailed information about each commit.

Table of contents