spaghetti-open-data / sod14

SOD Drupal7 codebase
9 stars 0 forks source link

Non riesco a clonare la repo #7

Closed albertocottica closed 10 years ago

albertocottica commented 10 years ago

Paolo, aiuto! Sto cercando di clonare la repo con Github per Mac: ho scritto una bozza di testo per presentare il questionario e volevo caricarla. Purtroppo, GitHub mi si inchioda su 10% e non finisce di clonare un bel nientee. Come devo fare?

paolomainardi commented 10 years ago

Prova a clonare da terminale, vediamo che errore ti da.

albertocottica commented 10 years ago

Risolto! Ma adesso non mi prende il commit:

On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: d7_sod (untracked content) no changes added to commit (use "git add" and/or "git commit -a") (1)

luca commented 10 years ago

sembra che tu debba aggiungere un file nuovo (d7_sod) al repo, non conosco la app github per mac, ma se lo devi fare da linea di comando puoi usare il comando "git status" per vedere lo stato della tua working copy (aka il repo sul tuo computer), avrai un risultato tipo:

On branch master

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git checkout -- ..." to discard changes in working

directory) #

modified: .... << questi sono i file gia esistenti e modificati da te

#

Untracked files:

(use "git add ..." to include in what will be committed)

#

... *<< questi sono i file nuovi che hai creato (e che non sono ancora

nel repo)* no changes added to commit (use "git add" and/or "git commit -a")

se hai file modificati o nuovi usi il comando git add (seguito dal path del file o da . se vuoi aggiungere tutto)

poi puoi fare

git commit -m 'messaggio di commit'

e infine

git push

On Wed, Feb 12, 2014 at 3:45 AM, Alberto Cottica notifications@github.comwrote:

Risolto! Ma adesso non mi prende il commit: On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules)

# modified: d7_sod (untracked content)

# no changes added to commit (use "git add" and/or "git commit -a") (1)

Reply to this email directly or view it on GitHubhttps://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34833600 .

dvcama commented 10 years ago

@alberto ti consiglio di usare http://mac.github.com/ dalla GUI dovrebbe essere tutto più facile...

2014-02-12 9:26 GMT+01:00 Luca Mearelli notifications@github.com:

sembra che tu debba aggiungere un file nuovo (d7_sod) al repo, non conosco la app github per mac, ma se lo devi fare da linea di comando puoi usare il comando "git status" per vedere lo stato della tua working copy (aka il repo sul tuo computer), avrai un risultato tipo:

On branch master

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git checkout -- ..." to discard changes in working

directory) #

modified: .... << questi sono i file gia esistenti e modificati da te

#

Untracked files:

(use "git add ..." to include in what will be committed)

#

... *<< questi sono i file nuovi che hai creato (e che non sono ancora

nel repo)*

no changes added to commit (use "git add" and/or "git commit -a")

se hai file modificati o nuovi usi il comando git add (seguito dal path del file o da . se vuoi aggiungere tutto)

poi puoi fare

git commit -m 'messaggio di commit'

e infine

git push

On Wed, Feb 12, 2014 at 3:45 AM, Alberto Cottica notifications@github.comwrote:

Risolto! Ma adesso non mi prende il commit: On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules)

# modified: d7_sod (untracked content)

# no changes added to commit (use "git add" and/or "git commit -a") (1)

Reply to this email directly or view it on GitHub< https://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34833600

.

Reply to this email directly or view it on GitHubhttps://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34848081 .

dottorblaster commented 10 years ago

@Diego

Sto cercando di clonare la repo con Github per Mac

Gli dava errore :P occhio alle GUI... Il 12/feb/2014 09:33 "Diego Valerio Camarda" notifications@github.com ha scritto:

@alberto ti consiglio di usare http://mac.github.com/ dalla GUI dovrebbe essere tutto più facile...

2014-02-12 9:26 GMT+01:00 Luca Mearelli notifications@github.com:

sembra che tu debba aggiungere un file nuovo (d7_sod) al repo, non conosco la app github per mac, ma se lo devi fare da linea di comando puoi usare il comando "git status" per vedere lo stato della tua working copy (aka il repo sul tuo computer), avrai un risultato tipo:

On branch master

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git checkout -- ..." to discard changes in working

directory) #

modified: .... *<< questi sono i file gia esistenti e modificati da

te* #

Untracked files:

(use "git add ..." to include in what will be committed)

#

... *<< questi sono i file nuovi che hai creato (e che non sono ancora

nel repo)*

no changes added to commit (use "git add" and/or "git commit -a")

se hai file modificati o nuovi usi il comando git add (seguito dal path del file o da . se vuoi aggiungere tutto)

poi puoi fare

git commit -m 'messaggio di commit'

e infine

git push

On Wed, Feb 12, 2014 at 3:45 AM, Alberto Cottica notifications@github.comwrote:

Risolto! Ma adesso non mi prende il commit: On branch master Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules)

# modified: d7_sod (untracked content)

# no changes added to commit (use "git add" and/or "git commit -a") (1)

Reply to this email directly or view it on GitHub<

https://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34833600

.

Reply to this email directly or view it on GitHub< https://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34848081>

.

— Reply to this email directly or view it on GitHubhttps://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34848502 .

albertocottica commented 10 years ago

Ok, ci sono riuscito. Pare che non abbia l'autorizzazione a mettere niente nella cartella D7_sod, ma posso fare commit sulla directory principale. Poi GitHub non riconosce i miei commitment e non mi mette tra i contributori (come è successo anche per Twitantonio) ma quello è un altro problema :-1:

seralf commented 10 years ago

due domande volanti che rispondo al volo: 1) committ su un tuo fork o branch o sul principale? 2) hai aggiunto il tuo utente alla configurazione al git config? (per fargli riconoscere i tuoi committment)

Il giorno 13 febbraio 2014 08:49, Alberto Cottica notifications@github.comha scritto:

Ok, ci sono riuscito. Pare che non abbia l'autorizzazione a mettere niente nella cartella D7_sod, ma posso fare commit sulla directory principale. Poi GitHub non riconosce i miei commitment e non mi mette tra i contributori (come è successo anche per Twitantonio) ma quello è un altro problema [image: :-1:]

— Reply to this email directly or view it on GitHubhttps://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34955323 .

albertocottica commented 10 years ago

@seralf

  1. sul principale. Non mi sembrava di fare niente di male, visto che ho aggiunto un file.
  2. no, credevo che @paolomainardi avesse assegnato un team, che include me, al progetto!
seralf commented 10 years ago

si si @albertocottica, chiedevo solo per provare a capire 1) niente di male :-) 2) se non lo hai mai fatto devi aggiungere il tuo utente sul gitconfig: altrimenti vieni aggiunto come utente (sennò non potresti neanche committare!) però non visualizza i tuoi contributi come vorresti. guarda qui: https://help.github.com/articles/setting-your-email-in-git

PS: e se avviassimo un github degli spaghettari per condividere un po' di micro-guide (e links) su queste robe di uso generale? :-)

Il giorno 13 febbraio 2014 13:04, Alberto Cottica notifications@github.comha scritto:

@seralf https://github.com/seralf

  1. sul principale. Non mi sembrava di fare niente di male, visto che ho aggiunto un file.
  2. no, credevo che @paolomainardi https://github.com/paolomainardiavesse assegnato un team, che include me, al progetto!

— Reply to this email directly or view it on GitHubhttps://github.com/spaghetti-open-data/sod14/issues/7#issuecomment-34972104 .

paolomainardi commented 10 years ago

@albertocottica si sei nel team, altrimenti non avresti potuto fare push. Per il resto come dice @seralf , la tua mail del git locale deve corrispondere alla mail qui di github.