Linux Terminal Glossary
›
Git - Core
git push origin main
Category:
Git - Core
git push origin main
Copy command
Push local main branch to remote named origin
Uploads your local branch commits to the 'origin' remote (the server, usually GitHub). main is the branch name.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.