Back to top

Autore Topic: Configurare Git con Joomla su server in Lan  (Letto 955 volte)

Offline Eddie84

  • Nuovo arrivato
  • *
  • Post: 38
  • Sesso: Maschio
    • Mostra profilo
Configurare Git con Joomla su server in Lan
« il: 04 Lug 2013, 12:59:06 »
Salve a tutti, vi illustro la situazione.
Ho installato Joomla 2.5 su un server in Lan. Devo usare Git ma non dai vari servizi in cloud come Github ecc, sempre rimanendo in Lan, quindi ho provato a inizializzare un repository nella cartella di joomla e clonarlo sui vari pc client nella lan. La clonazione funziona perfettamente, il client scarica tutti i file e il commit locale va alla grande. Il problema si presenta col push, che mi da questo errore:

Codice: [Seleziona]
error: refusing to update checked out branch: refs/heads/master error: By default, updating the current branch in a non-bare repository error: is denied, because it will make the index and work tree inconsistent error: with what you pushed, and will require 'git reset --hard' to match error: the work tree to HEAD. error:  error: You can set 'receive.denyCurrentBranch' configuration variable to error: 'ignore' or 'warn' in the remote repository to allow pushing into error: its current branch; however, this is not recommended unless you error: arranged to update its work tree to match what you pushed in some error: other way. error:  error: To squelch this message and still keep the default behaviour, set error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
Ho provato con le istruzioni di varie guide e tutorial, ma nessuno mi dice come creare un repository partendo da file esistenti.
La mia necessità è accedere a Joomla da http in lan sul server, e quindi facendo il push dai vari client vedere poi le modifiche se sono funzionanti o meno.
Spero di essere stato chiaro :D

Avete suggerimenti?
Le mie estensioni

 



Web Design Bolzano Kreatif