Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 286 Bytes

git-push.md

File metadata and controls

18 lines (13 loc) · 286 Bytes

Git Push

The git push command uploads changes to a remote repository.

Usage

git push <remote> <branch>

Explanation

  • Uploads local commits to the specified remote branch.

  • Use git push -u to set the upstream branch.

Example

git push origin main