Your Git Cheatsheet
84%
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.
