이전
Top 12 Git Commands Cheatsheet
📘 Top 12 Git Commands Cheatsheet
git init - Initialize a new Git repository. git clone - Clone a remote repository to your local machine. git status - Check the current state of your working directory. git add - Stage changes for the next commit. git commit - Record staged changes and create a snapshot. git push - Upload local changes to a remote repository. git pull - Fetch and merge changes from a remote repository. git branch - List, create, or delete branches. git checkout / git switch - Switch between branches or commits. git merge - Integrate changes from one branch into another. git diff - View differences between working directory and staging area. git log - Display a chronological list of commits.