Git 12 most Important command.

Git 12 most Important command.

  1. git init - Initialize a new Git repository.
  2. git clone - Clone a remote repository to your local machine.
  3. git status - Check the current state of your working directory.
  4. git add - Stage changes for the next commit.
  5. git commit - Record staged changes and create a snapshot.
  6. git push - Upload local changes to a remote repository.
  7. git pull - Fetch and merge changes from a remote repository.
  8. git branch - List, create, or delete branches.
  9. git checkout / git switch - Switch between branches or commits.
  10. git merge - Integrate changes from one branch into another.
  11. git diff - View differences between working directory and staging area.
  12. git log - Display a chronological list of commits.

To view or add a comment, sign in

More articles by Akshay Shinde

  • Git Workflow
  • DevOps Tool Github
  • DevOps Git stages.

    GIT: >Git is used to track the files. >It will maintain multiple versions of the same file.

  • Devops Learning in Git and Github

    What are Git and GitHub? Git was developed in 2005 by Linus Torvalds as open source software for tracking changes in a…

  • Fundamentals of DevOps

    WEB SERVER Ø At its core, a Web server serves static content to a Web browser by loading a file from a disk and serving…

  • DevOps

    Important Part of DevOps is Server What is Server? A server is a computer equipped with specific programs that provides…

  • DevOps

    1 – SYSTEM INFORMATION 2 – HARDWARE INFORMATION 3 – PERFORMANCE MONITORING AND STATISTICS 4 – USER INFORMATION AND…

  • Why linux prefect for DevOps

    The Linux Operating System is versatile and can be used for many different tasks. One of its key benefits is that it is…

  • DevOps

    Roles and Responsibilities for DevOps Engineer.

  • DevOps

    Tools we use in Devops.

Insights from the community

Others also viewed

Explore topics