Useful git commands

List all branches: git branchList all remote branches: git branch -aaCreate the branch on your local machine and switch to this branch: git checkout -b <branch name>Create a new branch: git branch <branch name>Rename current branch: git branch -m <new branch name>Rename other branch: git branch -m <old branch name> <new branch name>Delete a branch: … Continue reading Useful git commands