freeCodeCamp
Read post

Git Cheat Sheet – 50 Git Commands You Should Know

Git Cheat Sheet – 50 Git Commands You Should Know. Git Cheat Sheets – How To Use The Git Cheatsheets. How to Use the Git Components. How To Utilise The Git Compressors. What Do You Do With Git? Let us know.

    #logging#git
Mar 08, 2021•9m read time•From freecodecamp.org
Post cover image
Table of contents
What is a Distributed Version Control System?How to check your Git configuration:How to setup your Git username:How to setup your Git user email:How to cache your login credentials in Git:How to initialize a Git repo:How to add a file to the staging area in Git:How to add all files in the staging area in GitHow to add only certain files to the staging area in GitHow to check a repository's status in Git:How to commit changes in the editor in Git:How to commit changes with a message in Git:How to commit changes (and skip the staging area) in Git:How to see your commit history in Git:How to see your commit history including changes in Git:How to see a specific commit in Git:How to see log stats in Git:How to see changes made before committing them using "diff" in Git:How to see changes using "git add -p":How to remove tracked files from the current working tree in Git:How to rename files in Git:How to ignore files in Git:How to revert unstaged changes in Git:How to revert staged changes in Git:How to amend the most recent commit in Git:How to rollback the last commit in Git:How to rollback an old commit in Git:How to create a new branch in Git:How to switch to a newly created branch in Git:How to list branches in Git:How to create a branch in Git and switch to it immediately:How to delete a branch in Git:How to merge two branches in Git:How to show the commit log as a graph in Git:How to show the commit log as a graph of all branches in Git:How to abort a conflicting merge in Git:How to add a remote repository in GitHow to see remote URLs in Git:How to get more info about a remote repo in Git:How to push changes to a remote repo in Git:How to pull changes from a remote repo in Git:How to check remote branches that Git is tracking:How to fetch remote repo changes in Git:How to check the current commits log of a remote repo in GitHow to merge a remote repo with your local repo in Git:How to get the contents of remote branches in Git without automatically merging:How to push a new branch to a remote repo in Git:How to remove a remote branch in Git:How to use Git rebase:How to run rebase interactively in Git:How to force a push request in Git:
32 Impressions8 Comments
freeCodeCamp's image
freeCodeCamp

freeCodeCamp is a nonprofit organization offering free online coding courses and programming tutoria...

15.6K Followers

•

57.4K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard