Your Git Cheatsheet
95%
Remotes
| Command | What It Does |
|---|---|
git remote add origin | Connect your repo to a remote server |
git remote -v | Show configured remotes |
git push -u origin main | Push and set the upstream (first time only) |
git push | Push commits to the upstream remote |
Learn Git in a Day
Everything you need, nothing you don'tEnroll now to unlock all content and receive all future updates for free.
Unlock now $9.99$7.49Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
