Make your first commit

Now that we finished the development, we want to publish it on GitHub.

Push the code

To do so, we will first list our changes and add them to our local git repository:

git status
# shows all the files that have been modified
git add .
# adds all the modifications

Let’s test our changes before we publish them. See Run the tests for more information.

./run-tests.sh

If it complains about the manifest, it is because we added new files, but we didn’t register them into the MANIFEST.in file, so let’s do so:

check-manifest -u

Once all the tests are passing, we can push our code. As we were developing on a branch created locally, we need to push the branch on GitHub:

git commit -am "basic development"
git push --set-upstream origin dev