$ git push -u origin master
To https://github.com/shawnkaku/postit.git! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/shawnkaku/postit.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
$ git pull --rebase origin master
From https://github.com/shawnkaku/postit* branch master -> FETCH_HEAD
First, rewinding head to replay your work on top of it...
Applying: init
$ git push origin master
Counting objects: 65, done.Delta compression using up to 4 threads.
Compressing objects: 100% (55/55), done.
Writing objects: 100% (65/65), 15.23 KiB | 2.54 MiB/s, done.
Total 65 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), done.
To https://github.com/shawnkaku/postit.git
86e74cd..3395795 master -> master
留言
張貼留言