GIT: Git Commands Cheat Sheet

By PNC No comments

Commands Cheat Sheet Creating a new branch. git checkout -b YourBranchName Going to an existing branch. git checkout YourBranchName Deleting a local branch. git branch –delete YourBranchName Deleting a remote branch. git push origin –delete YourBranchName To fetch the latest updates from a branch. git pull origin YourBranch To add the latest changes to branch. […]