Bueno, lo que me gustaría es sincronizar github con mi repositorio local. Vamos a ver:
Creo la cuenta github, añado mi llave ssh, creo un repositorio con la rama master. lo inicializo por defecto con un readme, licencia y poco mas. clono el repositorio: git clone g...@github.com:aladedragon/ala-live.git cambio el readme. git status On branch master Untracked files: (use "git add <file>..." to include in what will be committed) ala-live/ nothing added to commit but untracked files present (use "git add" to track) prepararo el "stage" git add -A git status On branch master Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: ala-live y luego los confirmo. git commit ala-live/ [master 36349f9] Comit test 1 file changed, 1 insertion(+) create mode 160000 ala-live git status On branch master nothing to commit, working directory clean Hasta aqui todo bien. Ahora como diantes le mado este cambio a github? git push origin master To g...@github.com:aladedragon/ala-live.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'g...@github.com:aladedragon/ala-live.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. git push --set-upstream origin master To g...@github.com:aladedragon/ala-live.git ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'g...@github.com:aladedragon/ala-live.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. :) El 11/6/15, Gonzalo Rivero <fishfromsa...@gmail.com> escribió: > El día 11 de junio de 2015, 4:39, Ala de Dragón > <aladedra...@gmail.com> escribió: >> Buenos dias :D >> >> Últimamente vengo cotilleando acerca del proyecto devian-live. >> Tienen un repositorio GIT con el trabajan. >> La verdad es que nunca use GIT. >> He buscado en la red, la wiki y me he abierto una cuenta en github. >> Me gustaría charlar acerca de GIT, como funciona, como se usa y leerme >> algún manual menos tosco el "man git". >> Un saludo >> :) >> > a mi me sirvió esto para mi propio proyecto: > https://guides.github.com/activities/hello-world/ (en inglés) > > > -- > To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmas...@lists.debian.org > Archive: > https://lists.debian.org/capqjqdr7gyrcbpc8hmxiegsyx_yogb4w0e7spv7xupgai4b...@mail.gmail.com > > -- "El cielo es para los dragones lo que el agua es para las ninfas" -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/ca+924htaetj7yxbk-p4uakf2wjonh_zrtaqgktmx-ocsgeg...@mail.gmail.com