Differenze tra le versioni di "Aggiungere un progetto ad un repository remoto"
Da WikiSitech.
Vai alla navigazioneVai alla ricerca| Riga 5: | Riga 5: | ||
# Selezionare Git → click Next.  | # Selezionare Git → click Next.  | ||
# Appare la finestra ''Configure Git Repository''.  Indicare un percorso fisico dove salvare la cartella ''.git'' che rappresenta la copia locale del repository e di tutte le info relative a branch, history, ecc.. Non selezionare 'Use or create repository in parent folder of project' (bad practice indicata sulla guida [http://wiki.eclipse.org/EGit/User_Guide#Creating_Repositories|eGit]).  | # Appare la finestra ''Configure Git Repository''.  Indicare un percorso fisico dove salvare la cartella ''.git'' che rappresenta la copia locale del repository e di tutte le info relative a branch, history, ecc.. Non selezionare 'Use or create repository in parent folder of project' (bad practice indicata sulla guida [http://wiki.eclipse.org/EGit/User_Guide#Creating_Repositories|eGit]).  | ||
| + | |||
| + | |||
| + | ''It is recommended to separate your Git repository from any additional meta-data which Eclipse might create, it is recommended to place your Git repositories outside the Eclipse workspace. Eclipse follows this recommendation and the EGit plug-in proposes a directory outside your workspace. Placing Git repositories directly in the workspace may cause performance issues since the Git support in Eclipse then may need to scan a large number of files reachable under the workspace.  | ||
| + | |||
| + | ''  | ||
Versione delle 11:30, 7 apr 2014
Eseguendo questo tutorial eseguiremo un push di un progetto locale, su un repository remoto.
- Tasto destro sul progetto e: Team → Share Project.
 - Selezionare Git → click Next.
 - Appare la finestra Configure Git Repository. Indicare un percorso fisico dove salvare la cartella .git che rappresenta la copia locale del repository e di tutte le info relative a branch, history, ecc.. Non selezionare 'Use or create repository in parent folder of project' (bad practice indicata sulla guida [1]).
 
It is recommended to separate your Git repository from any additional meta-data which Eclipse might create, it is recommended to place your Git repositories outside the Eclipse workspace. Eclipse follows this recommendation and the EGit plug-in proposes a directory outside your workspace. Placing Git repositories directly in the workspace may cause performance issues since the Git support in Eclipse then may need to scan a large number of files reachable under the workspace.