Need help posting first python program on github
<p>I have finally created my own program that works. I am trying to upload the code to github for my first portfolio submission. I added github desktop to my macbook to try to make it easy to upload the code, but I can't figure it out. All of my code ending in .py is unable to be added to github. Can anyone offer advice on what I need to do to get this up?</p>

<p>Below is the latest screenshot from the error I am receiving:</p>

<p><img src="http://i.stack.imgur.com/AD79H.png" alt="enter image description here"></p>

<p>Can you share your <code>.gitignore</code> file?</p>

<p>Or just try to push it with the command line interface (to learn the basics of the <code>git</code> commands, see <a href="https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository" rel="nofollow">gitcsm site</a>, or follow github <a href="https://help.github.com/articles/create-a-repo/" rel="nofollow">instruction</a> after you create your repo</p>

<pre><code>git init
git add .
git commit -m "first commit"
git remote add origin git@github.com:username/repo-name.git
</code></pre>

<p>As a last step, you need to push your "master" branch to "origin" remote and set up tracking</p>

<pre><code>git push -u origin master
</code></pre>

python github