Linux Terminal Glossary
›
Git - Core
git push -u origin main
Category:
Git - Core
git push -u origin main
Copy command
Push and set upstream tracking for the branch
Pushes and also sets up tracking: future 'git push' and 'git pull' commands will automatically use this branch.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.