Create a commit to change an existing file
@@ -121,6 +121,13 @@ Creating a new repository
if r:
print("Created {0} successfully.".format(r.name))
+Create a commit to change an existing file
+------------------------------------------
+
+::
+
+ repo.contents('/README.md').update('commit message', 'file content'.encode('utf-8'))
+
Follow another user on GitHub
-----------------------------
