Développement PHP avec NetBeans et github sur un serveur distant
Installation
- Télécharger l'archive : http://netbeans.org/downloads/ (j'ai choisi le bundle PHP)
- Installer
Créer le repository sur github
aller sur github.com, créer le repository, on obtient une url pour le repository : https://github.com/chromero/test.git
En ligne de commande
cd /tmp
mkdir test
cd test
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/chromero/test.git
git push -u origin master
team -> git -> clone
Cliquer sur Manage...
Créer un fichier php
Cliquer sur Run
Une fois les tests effectués, vous pouvez valider vos modifications sur git:
git->commit, puis git->remote->Push
En agissant aucun commit n'est effectué! donc vos collaborateurs n'auront jamais accès à vos modifications!
RépondreSupprimerEn effet, la partie commit vient juste après ça.
SupprimerUne fois que le code est testé, il faut faire le commit et le push, je rajouterai ces étapes.
Merci pour le commentaire