Quick Summary ✏ git config: Configure Git settings. git init: Initialize a new Git repository. git clone: Create a copy of a remote repository. git status: Check the status of your files. git add: Stage changes for commit. git diff: View differ...

Markdown supported · ⌘↵ to post
David Carr
Web developer
I love
git switch -c branch-nameoften I forget to checkout a branch start building a feature then realise I'm on the wrong branch.Using
git switch will move all your changes onto a new branch, if the branch doesn't exist it will create it. Very handy!