$ git push [원격 이름] [로컬 브랜치 이름]
예시$ git commit -m "test" [새 변경 이력 생성]
[master 4a52752] test
1 file changed, 1 insertion(+)
create mode 100644 test.c
$ git status [현재 상태 확인]
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
$ git push [git push 원격 이름과 로컬 브랜치 이름 생략]
Username for 'https://github.com': jyheo
Password for 'https://jyheo@github.com':
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 16 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 275 bytes | 275.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/jyheo/test-repo.git
2bafe99..4a52752 master -> master