Skip to contentSkip to conversation

French git user

DISCUSSION Nicolas Morey-Chaisemartin 7 participants 15 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello everyone,

I've been given the task to prepare an introduction on Git for my company, as lots of people are interested by Git, and I'm one of the most advanced user, as I started using git about 2 or 3 weeks ago... Due to my lack of experience, and not wanting to taught wrong things, I'm looking for one or more good french git user/developper to give a quick look to my slides, and tell me if I went wrong somewhere.

Thanks in advance

Nicolas Morey-Chaisemartin

#1 lore raw
Quoted 9 lines · Nicolas Morey-Chaisemartin

Hello everyone,

I've been given the task to prepare an introduction on Git for my company, as lots of people are interested by Git, and I'm one of the most advanced user, as I started using git about 2 or 3 weeks ago... Due to my lack of experience, and not wanting to taught wrong things, I'm looking for one or more good french git user/developper to give a quick look to my slides, and tell me if I went wrong somewhere.

Quoted 8 lines

Thanks in advance

Nicolas Morey-Chaisemartin
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I can do that for you, no pb ;-)

Signature · 3 lines
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
#2 lore raw

I'll probably need to do the same here (Montréal, Qc), so if you can share your slides (or else), that would be nice.

Merci ! (thanks),

- jfv

Quoted 31 lines · Christian MICHON
Quoted 9 lines · Nicolas Morey-Chaisemartin

Hello everyone,

I've been given the task to prepare an introduction on Git for my company, as lots of people are interested by Git, and I'm one of the most advanced user, as I started using git about 2 or 3 weeks ago... Due to my lack of experience, and not wanting to taught wrong things, I'm looking for one or more good french git user/developper to give a quick look to my slides, and tell me if I went wrong somewhere.

Quoted 8 lines

Thanks in advance

Nicolas Morey-Chaisemartin
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I can do that for you, no pb ;-)

Signature · 8 lines
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with  
Git inside !
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw
Quoted 7 lines · Jean-Francois Veillette

I'll probably need to do the same here (Montréal, Qc), so if you can share your slides (or else), that would be nice.

Merci ! (thanks),

- jfv

you'll need to ask Nicolas. what I did was to provide feedback to his slides only (done).
it's up to him to share his work or not.

Signature · 3 lines
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !
#4 lore raw
Quoted 8 lines · Christian MICHON
Quoted 5 lines · Jean-Francois Veillette

I'll probably need to do the same here (Montréal, Qc), so if you can share your slides (or else), that would be nice.

Merci ! (thanks),

Quoted 9 lines
Quoted 3 lines

- jfv

you'll need to ask Nicolas. what I did was to provide feedback to his slides only (done).
it's up to him to share his work or not.

I'd gladly share it, I just have to check my company policy. I asked my boss tonight so I'll get an answer by tomorrow and post it on a ftp somewhere, if I can share it

Nicolas

#5 lore raw
Quoted 26 lines · Nicolas Morey-Chaisemartin
Quoted 9 lines · Christian MICHON
Quoted 5 lines · Jean-Francois Veillette

I'll probably need to do the same here (Montréal, Qc), so if you can share your slides (or else), that would be nice.

Merci ! (thanks),

Quoted 10 lines
Quoted 4 lines

- jfv

you'll need to ask Nicolas. what I did was to provide feedback to his slides only (done).
it's up to him to share his work or not.

I'd gladly share it, I just have to check my company policy. I asked my boss tonight so I'll get an answer by tomorrow and post it on a ftp somewhere, if I can share it

Quoted 9 lines

Nicolas

--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

I've been allowed to share my presentation:
http://nicolas.morey-chaisemartin.com/git_tuto.pdf

Please send me any feedback, I'm always glad to imrpove my work.

Regards

Nicolas Morey-Chaisemartin

#6 lore raw
Quoted 4 lines · Nicolas Morey-Chaisemartin

I've been allowed to share my presentation:
http://nicolas.morey-chaisemartin.com/git_tuto.pdf

Please send me any feedback, I'm always glad to imrpove my work.

I have no knowledge of French, but on page 15 the command "git-commit --append" is mentioned. There is no "--append" option. I'm guessing the "--amend" option is meant instead.

Also, the very next command is "git-revert COMIT_ID". "COMIT_ID" should probably have an extra "M".

Finally, on page 11, you say something about "git foo" vs. "git-foo" (hopefully that the "git-foo" form is deprecated), but in the rest of the presentation you use a mix of "git foo" and "git-foo" (mostly "git-foo"). This seems inconsistent.

Have fun! :)

...Johan

Signature · 2 lines
Johan Herland, <[email protected]>
www.herland.net
#7 lore raw
Quoted 21 lines · Johan Herland
Quoted 5 lines · Nicolas Morey-Chaisemartin

I've been allowed to share my presentation:
http://nicolas.morey-chaisemartin.com/git_tuto.pdf

Please send me any feedback, I'm always glad to imrpove my work.

I have no knowledge of French, but on page 15 the command "git-commit --append" is mentioned. There is no "--append" option. I'm guessing the "--amend" option is meant instead.

Also, the very next command is "git-revert COMIT_ID". "COMIT_ID" should probably have an extra "M".

Finally, on page 11, you say something about "git foo" vs. "git-foo" (hopefully that the "git-foo" form is deprecated), but in the rest of the presentation you use a mix of "git foo" and "git-foo" (mostly "git-foo"). This seems inconsistent.

Quoted 5 lines

Have fun! :)

...Johan

Thanks, good catch.
Yes I say in french that git-foo is deprecated.
However I'm still using it in the following slides because people have directly the good command to look at the man.
I know it's not really consistent but asI'd rahter keep it that way and insist while presenting it, it should only be used for man pages.

I added your vchanged and updated the pdf.

Thanks

Nicolas

#8 lore raw
Quoted 5 lines · Nicolas Morey-Chaisemartin

Yes I say in french that git-foo is deprecated.
However I'm still using it in the following slides because people have directly the good command to look at the man.
I know it's not really consistent but asI'd rahter keep it that way and insist while presenting it, it should only be used for man pages.

The man pages are also accessible _without_ using the "git-foo" form, either by doing "git foo --help" or "git help foo". I'd suggest using the "git foo" form, and using "git help foo" instead of "man git-foo".

Have fun! :)

...Johan

Signature · 2 lines
Johan Herland, <[email protected]>
www.herland.net
#9 lore raw
Quoted 10 lines · Johan Herland
Quoted 5 lines · Nicolas Morey-Chaisemartin

Yes I say in french that git-foo is deprecated.
However I'm still using it in the following slides because people have directly the good command to look at the man.
I know it's not really consistent but asI'd rahter keep it that way and insist while presenting it, it should only be used for man pages.

The man pages are also accessible _without_ using the "git-foo" form, either by doing "git foo --help" or "git help foo". I'd suggest using the "git foo" form, and using "git help foo" instead of "man git-foo".

Depending on the audience, one might want to mention that if you are using a modern version of zsh as your shell and have activated its run-help function (see
http://zsh.dotsrc.org/Doc/Release/zsh_24.html#SEC218), you can just say

git foo -bar <M-h>

and you'll get git-foo manual page. When you exit man, you'll get your command line back just like it was when you hit M-h. I think it handles even "echo dum ; git foo <M-h>" kind of cases. You can't live without it once you have tried it. Or the completion with descriptions for options etc.

Signature · 1 line
Hannu
#11 lore raw
In reply to Nicolas Morey-Chaisemartin

I've quickly read the document.
Many thanks Nicolas !

- jfv

Quoted 46 lines · Nicolas Morey-Chaisemartin
Quoted 21 lines · Johan Herland
Quoted 5 lines · Nicolas Morey-Chaisemartin

I've been allowed to share my presentation:
http://nicolas.morey-chaisemartin.com/git_tuto.pdf

Please send me any feedback, I'm always glad to imrpove my work.

I have no knowledge of French, but on page 15 the command "git-commit --append" is mentioned. There is no "--append" option. I'm guessing the "--amend" option is meant instead.

Also, the very next command is "git-revert COMIT_ID". "COMIT_ID" should probably have an extra "M".

Finally, on page 11, you say something about "git foo" vs. "git-foo" (hopefully that the "git-foo" form is deprecated), but in the rest of the presentation you use a mix of "git foo" and "git-foo" (mostly "git-foo"). This seems inconsistent.

Quoted 5 lines

Have fun! :)

...Johan

Thanks, good catch.
Yes I say in french that git-foo is deprecated.
However I'm still using it in the following slides because people have directly the good command to look at the man.
I know it's not really consistent but asI'd rahter keep it that way and
insist while presenting it, it should only be used for man pages.

I added your vchanged and updated the pdf.

Thanks

Nicolas
--
To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#12 lore raw
In reply to Johan Herland

Johan,

You said that the form git-<cmd> version is deprecated. That's true. But in the suit of the document you use only git-<cmd>. This is not working anymore with recent Git version. I would recommend using only the "git <cmd>" form.

Pascal.

Signature · 8 lines
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
#13 lore raw
In reply to Nicolas Morey-Chaisemartin

Nicolas,

You said that the form git-<cmd> version is deprecated. That's true. But in the suit of the document you use only git-<cmd>. This is not working anymore with recent Git version. I would recommend using only the "git <cmd>" form.

Pascal.

Signature · 8 lines
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
#14 lore raw
In reply to Nicolas Morey-Chaisemartin

Nicolas,

There is also at least two commands that I used often that are missing to me:

   $ git checkout -b branch_name branch_point

Which is equivalent to:

   $ git branch branch_name branch_point
   $ git checkout branch_name

The other missing command is:

   $ git add [-p|-i]

Very important to create a set tightly related commits out of a dirty tree.

Maybe also adding a note about aliases:

   $ git config --global alias.co checkout

Pascal.

Signature · 8 lines
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
#10 lore raw
In reply to Hannu Koivisto
Quoted 7 lines · On Wednesday 26 November 2008 17.22.23 Hannu Koivisto wrote:

Depending on the audience, one might want to mention that if you are using a modern version of zsh as your shell and have activated its run-help function (see
http://zsh.dotsrc.org/Doc/Release/zsh_24.html#SEC218), you can just say

git foo -bar <M-h>

Any idea if this also accessible, or is possible to add, in bash?

I don't have it but I already feel I can't live without it.

Chees, Nadim.