8000 GitHub - lansanalsm/exorm6
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lansanalsm/exorm6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

EXO RM6

un projet de test de git et github

####Quelques commandes git :

Les branch GIT

1 - Affichage de la liste des branch y compris la branche courante

git branch

2- creer une nouvelle branch

git branch monTravail

3 - supprimer une branch

git branch -D  monTravail

NB: prudence avec cette commande

4 - changer de branch

git checkout monTravail

5 - creer une nouvelle branche et y se placer immediatement

 git checkout -b monTravail

Commit et Push

1 - pour cloner ce projet taper la commande suivante :

git clone https://github.com/lansanalsm/exorm6

2 - pour afficher les changements qui n'ont pas ete commit

git status

3 - Pour ajouter tous les changements

git add .

4- Pour faire un commit, taper la commande suivante:

git commit -m "massange"

5- Pour faire un push

git push origin [nom_de_la_branche]

Envoyer un encien projet sur github

1- se placer dans le dossier du projet

cd /chemin/vers/le/projet

2 - initialiser le projet (git)

git init

3- ajouter le repos git

git remote add origin https://github.com/utilisateur/projet.git

NB: le repo https://github.com/utilisateur/projet.git doit etre créer

4 - puis envoyer le code sur le repo

    git add .
    git commit -m "initialisation"
    git push origin -u master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0