Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I use github also, but in windows. I had 2 major problems while pushing at least till I found my problem. Try looking at both of theses solutions</p> <ol> <li><p>The URL is case sensitive. So make sure your remote's url is exactly correct including (upper/lower case letters).</p></li> <li><p>For some reason (never bother to figure out why) you may also need to pull from github before pushing. To this date I have had to do this for every project (at least before the first push).</p></li> </ol> <p>So:</p> <pre><code>git pull &lt;remote name&gt; &lt;branch name&gt; git push &lt;remote name&gt; &lt;branch name&gt; </code></pre> <p>Most likly in your case:</p> <pre><code>remote name = origin branch name = master </code></pre> <p>And just to itterate the entire process. Did you do all theses steps:</p> <pre><code>git init git add . git commit -m "inital commit" git remote add &lt;device name&gt; URL git pull &lt;device Name&gt; master git push &lt;decive Name&gt; master </code></pre> <p>Also note that many of the git walkthroughs try to get fancy with the remotes. I would go to the very basics at least until you get that working. So to beat a dead horse!</p> <pre><code>git remote add origin https://github.com/&lt;account name&gt;/&lt;repo name&gt;.git </code></pre> <p>Or in my case it would look like this:</p> <pre><code>git remote add origin https://github.com/DanielHaro/my_app.git </code></pre> <p>but I hate the remote name origin so I actually use:</p> <pre><code>git remote add tron https://github.com/DanielHaro/my_app.git </code></pre> <p>Which is so cute becase later you get to use:</p> <pre><code>git push tron master </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload