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 branchList only remote branches
git branch -rList all the remote and local branches
git branch -aRenaming a branch
git branch -m old-name new-name
Comments
Post a Comment