56 lines
2.3 KiB
Org Mode
56 lines
2.3 KiB
Org Mode
#+TITLE: To Git or Not to Git
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+ATTR_HTML: :alt in French :class lang-lifted
|
|
[[file:../fr/togit.org][file:../content/imgs/fr.png]]
|
|
|
|
#+ATTR_HTML: :alt return home :class home
|
|
[[file:home.org][file:../content/imgs/home.png]]
|
|
|
|
This is a one-lecture crash introduction to distributed version
|
|
control with [[https://git-scm.com/][Git]]. The course is targeted at a wide audience of
|
|
computer users without an in-depth background in Computer Science and
|
|
aims to explain the basic concepts of version control and Git, and to
|
|
give some best practices of using version control systems.
|
|
|
|
Intuitively, the goal of this lecture is to quickly bring up to
|
|
scratch [[https://xkcd.com/1597/][such users]] of Git.
|
|
|
|
#+ATTR_HTML: :alt image of Creative Commons Attribution Alone licence :class ccby
|
|
[[https://en.wikipedia.org/wiki/Creative_Commons_license][file:../content/imgs/ccby.png]]
|
|
|
|
The materials of this course are distributed under the [[https://en.wikipedia.org/wiki/Creative_Commons_license][Creative
|
|
Commons Attribution Alone licence]].
|
|
|
|
|
|
* Slides
|
|
[[file:../content/courses/togit/togit.pdf][Here]] are the slides for this lecture.
|
|
|
|
* Informal presentation
|
|
Have you already written some code and found yourself creating a
|
|
folder for each different version of your project? Are you fed up
|
|
with sending article sources to and fro by E-mail? You had already
|
|
tried Git, but you found it somewhat obscure, and then the ketchup
|
|
was not good enough?
|
|
|
|
This lecture is for you!
|
|
|
|
* Presentation advice
|
|
The lecture should be accompanied by an interactive shell
|
|
session. The following commands should be illustrated during this
|
|
session: =git init=, =git add=, =git commit=, =git log=, =git diff=,
|
|
=git branch=, =git checkout=, =git merge=, =git push=, =git pull=.
|
|
|
|
One of the goals of this lecture is to familiarise the audience with
|
|
the complete but graphically minimalistic command line interface of
|
|
Git. GUIs/[[https://git-scm.com/book/en/v2/Git-Internals-Plumbing-and-Porcelain][porcelains]] for Git should therefore be avoided for the
|
|
bulk of the presentation.
|
|
|
|
|
|
* Local Variables :noexport:
|
|
# Local Variables:
|
|
# org-link-file-path-type: relative
|
|
# eval: (auto-fill-mode)
|
|
# ispell-local-dictionary: "en"
|
|
# End:
|