[Notes] Git Common Commands by Scenario

For common Git operations in everyday development. It’s organized into categories to help you get started or get started. 📦 Basic Commands order corresponds English -ity, -ism, -ization git init Initialize a Git repository (create a .git folder). git clone <url> Clone the remote repository to local. git status View the current working directory status (file modifications, staging, etc.). git add <file> Adds a file to the staging area. git commit -m "message" ...

June 2, 2025 · 4 min · MoeJue

[Notes] Comprehensive list of commonly used Git commands

Following the last time, I took the time to sort out a relatively complete list of commonly used Git commands, and found a great map, very high-definition (1759*3162). View, add, submit, delete, retrieve, reset modified files git help # Display help for command git show # Display the contents of a certain commit git show $id git co – # Discard workspace modifications git co . # Discard workspace modifications ...

June 16, 2018 · 5 min · MoeJue

Simple Steps for Using Git

This article does not elaborate any conceptual knowledge, just make a note, simply is the use of the steps, if you encounter obstacles, please Google it! Using SSH to Bind Git to GitHub 1. Generate SSH key ssh-keygen -t rsa Specify the RSA algorithm to generate the key, after which two files will be generated, id_rsa and id_rsa.pub, i.e., the key id_rsa and the public key id_rsa.pub. For these two files ...

April 3, 2018 · 2 min · MoeJue