s'engage à ne pas apparaître sur github

  • J'ai créé un nouveau dépôt sur github.
  • J'ai sélectionné l'une des options que l'ajout d'un fichier README.md.
  • Je puis cd dans le projet sur mon disque dur.
  • J'ai couru git init: Initialized empty Git repository in /Utilisateurs/myusername/github/monprojet/.git/
  • J'ai couru "git add" puis "git commit -m 'fichiers de projet'", qui a répondu ceci:
    [master (root-commit) ca52fe0] project files
     981 files changed, 257939 insertions(+), 0 deletions(-)
     create mode 100644 index.php
     create mode 100644 license.txt
     create mode 100644 readme.html
     create mode 100644 wp-activate.php
     ...
    
  • J'ai ensuite couru "git remote add origin https://github.com/myusername/myproject.git"
  • J'ai ensuite couru "git push origin master"
  • J'ai ensuite couru "git status" qui ne dit rien à commettre

Mais je regarde les pensions et mon "mes fichiers de projet" s'engager n'est pas là. Alors j'ai couru git pull et obtenu ceci:

You asked me to pull without telling me which branch you
want to merge with, and 'branch.master.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.

et puis git push et vérifié encore et encore mes commits sont pas sur le dépôt github. Le seul moment où je peux voir le commit est quand je lance "git log":

MacBook-myproject myusername$ git log
commit ca52fe090e6dbf1b6aa6ee51c3283efbe7549904
Author: User <myemailaddress>
Date:   Sat Jun 23 19:22:05 2012 -0400
project files

J'ai suivi github directions le mieux que je pouvais. Ce que je fais mal?

source d'informationauteur JohnMerlino