diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da5db42 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +sum.js diff --git a/InitDepot.txt b/InitDepot.txt new file mode 100644 index 0000000..bd89945 --- /dev/null +++ b/InitDepot.txt @@ -0,0 +1,27 @@ +## Titre : Les commandes principales pour créer un dépôt GIT + + +# Créer un nouveau dépôt : +git init +# ex : git init dep_toto + +# Cloner un dépôt existant +git clone +# ex : git clone git@github.com:formationgit102017/git-training-2.git + +# Afficher les branches +git branch -a + +# Changer de branche +git checkout + +# Créer une branche +git branch + +# Afficher l'état d'un dépôt +git status + +# Afficher les logs du dépôt +git log + +Et pour le reste aller sur le lien suivant : http://192.168.94.250:8080/resources/initiationgit.pdf \ No newline at end of file diff --git a/Licence.txt b/Licence.txt new file mode 100644 index 0000000..96368b7 --- /dev/null +++ b/Licence.txt @@ -0,0 +1 @@ +script de libre droits d'utilisation diff --git a/Photo.jpg b/Photo.jpg new file mode 100644 index 0000000..18c03df Binary files /dev/null and b/Photo.jpg differ diff --git a/Projet.txt b/Projet.txt new file mode 100644 index 0000000..41793b2 --- /dev/null +++ b/Projet.txt @@ -0,0 +1 @@ +projet de manipulation des cde GIT diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..c7d4813 --- /dev/null +++ b/README.txt @@ -0,0 +1,3 @@ +Description du Projet + +Ce projet a pour but de comprendre GIT diff --git a/dummy.txt b/dummy.txt index bc5942c..096b2ae 100644 --- a/dummy.txt +++ b/dummy.txt @@ -1 +1,5 @@ -Ceci est un text qui contien des phautes \ No newline at end of file +Ceci est un text qui contient des fautes + +Participants: Morgan Guimard, Carine Nivelet, Cedric Dorocant, Remi Arbousset, Adrien Duyck, P. Sarcher + +Ceci est du texte rajouté peut etre avec des faute, va savoire .... diff --git a/feature-8 b/feature-8 new file mode 100644 index 0000000..2953ce8 --- /dev/null +++ b/feature-8 @@ -0,0 +1 @@ +de bonnes pratiques nous facilent la vie diff --git a/feature-8.txt b/feature-8.txt new file mode 100644 index 0000000..55cc52a --- /dev/null +++ b/feature-8.txt @@ -0,0 +1 @@ +une erreur dans la premier fichier feature-8 diff --git a/fusion.txt b/fusion.txt new file mode 100644 index 0000000..741f917 --- /dev/null +++ b/fusion.txt @@ -0,0 +1,4 @@ +Principale commaned de fusion de branches : +Se positionner dans la branche cible : "git checkout branche_cible' +Fusionnner les branches : 'git merge branche_source' + diff --git a/script.sh b/script.sh index 395d928..51cee93 100644 --- a/script.sh +++ b/script.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash # Write a script that outputs the current date -# ... \ No newline at end of file +# ... +DATE=$(date '+%Y-%m-%d') +echo -e "\nCurrent date: ${DATE}"