You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode git clone: what you really get when you copy a Git project

How Git keeps every version of your project without filling your disk

git push and git pull: why Git can refuse your push

Your commit is fine and your internet works, and still Git rejects your push. Why does Git say no, and what do git push and git pull really move?

  1. 1 Rono commits his new level and runs git push. His commit goes up to origin, and origin's main moves onto "Level 3".Rono'slaptopmainLevel 3originmaingit push

    Rono commits his new level and runs git push. His commit goes up to origin, and origin's main moves onto "Level 3".

  2. 2 An hour later you commit a new sound, a splash when the frog falls in the river, and run git push too. Git refuses, with the word rejected in its answer, though your commit is fine. Why?yougit pushGitRejected!

    An hour later you commit a new sound, a splash when the frog falls in the river, and run git push too. Git refuses, with the word rejected in its answer, though your commit is fine. Why?

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode git reset vs git revert: two ways to undo a commit

Share this comic

More comics