Posts

Useful git commands

Git Commands Cheat Sheet Git Commands Cheat Sheet Pro Tip: HEAD is a pointer to your current branch. If you check out a feature branch, HEAD moves to point there. 1. Remote Repositories & Setup Action Command Clone a Repository git clone <URL> Connect Local to Remote git remote add origin <URL> View Remote URLs git remote -v Remove Remote Connection git remote rm <name> 2. Branching & Basic Workflow Action Command Check Status ...