
Bonjour, http://grifon.fr/comptes-rendus/2015-05-04_reunion_hackerspace.html Voici le CR de la réunion du 4 mai, prévue au HS, mais faite au ty anna. N'hésitez pas à corriger. -- gfa

Yop, J’ai voulu me créer ma propre branche histoire d’arrêter de pourrir la tienne, seulement je n’ai que les status dedans. Tu as une idée de pourquoi ? alarig@nemee:~$ mv grifon/ grifon-gfa2 alarig@nemee:~$ git clone ssh://localhost/git/grifon.git Cloning into 'grifon'... remote: Counting objects: 899, done. remote: Compressing objects: 100% (801/801), done. Receiving objects: 100% (899/899), 5.54 MiB, done. remote: Total 899 (delta 519), reused 118 (delta 75) Resolving deltas: 100% (519/519), done. Note: checking out 'c2bcbc8c1d560f738b78a83889e9d69754278f07'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name alarig@nemee:~$ git checkout -b alarig fatal: Not a git repository (or any of the parent directories): .git alarig@nemee:~$ cd grifon alarig@nemee:~/grifon$ git checkout -b alarig Switched to a new branch 'alarig' alarig@nemee:~/grifon$ git status # On branch alarig nothing to commit (working directory clean) alarig@nemee:~/grifon$ ls -lh total 8,0K -rw-r--r-- 1 alarig users 7,6K mai 6 20:35 statuts-grifon.rst -- alarig

Peut-être que ta nouvelle branche ne suit pas origin/master [gfa@localhost grifon ((c2bcbc8...))]$ git checkout -b blabla --track origin/master Le 06/05/2015 20:39, alarig a écrit :
Yop,
J’ai voulu me créer ma propre branche histoire d’arrêter de pourrir la tienne, seulement je n’ai que les status dedans. Tu as une idée de pourquoi ?
alarig@nemee:~$ mv grifon/ grifon-gfa2 alarig@nemee:~$ git clone ssh://localhost/git/grifon.git Cloning into 'grifon'... remote: Counting objects: 899, done. remote: Compressing objects: 100% (801/801), done. Receiving objects: 100% (899/899), 5.54 MiB, done. remote: Total 899 (delta 519), reused 118 (delta 75) Resolving deltas: 100% (519/519), done. Note: checking out 'c2bcbc8c1d560f738b78a83889e9d69754278f07'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
alarig@nemee:~$ git checkout -b alarig fatal: Not a git repository (or any of the parent directories): .git alarig@nemee:~$ cd grifon alarig@nemee:~/grifon$ git checkout -b alarig Switched to a new branch 'alarig' alarig@nemee:~/grifon$ git status # On branch alarig nothing to commit (working directory clean) alarig@nemee:~/grifon$ ls -lh total 8,0K -rw-r--r-- 1 alarig users 7,6K mai 6 20:35 statuts-grifon.rst
_______________________________________________ Grifon mailing list Grifon@grifon.fr http://lists.grifon.fr/mailman/listinfo/grifon
participants (2)
-
alarig
-
gfa