Tetiana Bulatova’s Post

Modern Git Commands It’s not 2005 anymore and git offers more than just add, commit, push and pull. Let’s explore all the new, modern git commands, that you should know about All of us — software engineers — use git every day, however most people only ever touch the most basic of commands, such as add, commit, push or pull, like it's still 2005. Git however, introduced many features since then, and using them can make your life so much easier, so let’s explore some of the recently added, modern git commands, that you should know about. 1. git switch: Simplifies branch switching. 2. git restore: Restores files to a previous state. 3. git worktree: Allows multiple working directories. 4. git sparse-checkout: Checks out only part of a large repository. 5. git stash push/pop: Enhanced stash management with naming. 6. git rebase --interactive: Rewrites commit higit bisectively. 7. git bisect: Finds the commit thgit blame a bug. 8. git blame: Shows who changedgit cherry-pick. 9. git cherry-pick: Applies changes frogit reflogmits. 10. git reflog: Tracks all actions, ugit merge --squash. 11. git merge --squash: Merges changes ingit commit --amend. 12. git commit --amend: Modifies the git pull --rebase 13. git pull --rebase: Rebases instead of megit log --graph 14. git log --graph: Visualizes git cleanstory. 15. git clean: Removes untracked files. #git #frontend

To view or add a comment, sign in

Explore topics