Git is the most popular distributed version control system in the world. Learn the most essential Git commands to boost your productivity. Set up your username and email to link commits with your name. Cache your login credentials to avoid re-typing the username and password every time you perform a commit.
Table of contents
Top 30 Git Commands You Should Know To Master Git CLITop 30 Git Commands You Should Know To Become a Git Master1. Set Up Your Username and Email2. Cache Your Login Credentials3. Initialize a Repository4. Add Individual File or All Files To Staging Area5. Check a Repository Status6. Commit Changes With a Single Line Message or Through an Editor7. View Commit History With Changes8. View a Particular Commit9. View Changes Before Committing10. Remove Tracked Files From The Current Working Tree11. Rename Files12. Revert Unstaged and Staged Changes13. Amend The Most Recent Commit14. Rollback Last Commit15. Rollback a Particular Commit16. Create and Switch To a New Branch17. List All Branches18. Delete a Branch19. Merge Two Branches20. Show Commit Log as Graph For Current or All Branches21. Abort a Conflicting Merge22. Add a Remote Repository23. View Remote URLs24. Get Additional Information About a Remote Repository25. Push Changes To a Remote Repository26. Pull Changes From a Remote Repository27. Merge Remote Repository With Local Repository28. Push a New Branch To Remote Repository29. Remove a Remote Branch30. Use Rebase5 Comments
Sort: