Posts

Showing posts with the label GIT

GIT Cheatsheet

Clone a repo git clone <your repo URL> Create a branch and switch to it git checkout -b <branchname> Delete a branch git branch -d <branchname> List the local branches git branch List only remote branches git branch -r List all the remote and local branches git branch -a Renaming a branch git branch -m old-name new-name