[Gambas-user] About learning Git

PICCORO McKAY Lenz mckaygerhard at gmail.com
Fri Feb 9 14:04:24 CET 2018


there's some points specific to the git gambas repository in the wiki, by
example in gitlab theres a namespace group and the repository itseflt...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2018-02-09 6:47 GMT-04:00 Christof Thalhofer <chrisml at deganius.de>:

> Hello,
>
> when I switched over from SVN to Git, I saw: Git is a strange, different
> beast. I had to change things in my mind, how to work with a version
> control system which is so different like this. Here are the sources,
> which helped me to learn and also the tools that work best for me:
>
> I highly recommend the great documentation here:
>
> https://git-scm.com/doc
>
> especially the Git book:
>
> https://git-scm.com/book/en/v2
>
> which is fully translated in French, German and other languages.
>
> I have learned also from a couple of videos, first of all the
> introduction by Linus, its brilliant, even when its controversial:
>
> https://www.youtube.com/watch?v=4XpnKHJAok8
>
> There are also a lot of good videos in Youtube about "Git best
> practices", for instance these tutorials may be worth to be watched:
>
> https://www.youtube.com/watch?v=HVsySz-h9r4&list=PL-
> osiE80TeTuRUfjRe54Eea17-YfnOOAx
>
> -------------------------------------------------------------------
>
> As you may find out that most of the examples in the internet praise the
> usage of Git from the commandline and not GUI tools:
>
> Git is best understood while working in the terminal and it is ultrafast
> and very mighty there. I for myself never use a GUI tool, and after a
> bit of work with Git, I bet, you won't too.
>
> So these are my tips for working on the commandline:
>
> Use a tool like Guake (sudo apt install guake) which provides the
> terminal with one keystroke and switches it off with the same key.
>
> Use Zsh instead of Bash.
>
> Then use https://github.com/robbyrussell/oh-my-zsh/
>
> It provides autocompletion and a lot of very cool shortcuts for the work
> on the terminal and also provides a beautiful informative prompt like
> this (imagine the colors by yourself):
>
> christof at tof-x230 ~ » wd gambas
> christof at tof-x230 ~/programming/gambas/gambas ±master »
>
> I write
> "g l <tab>" instead of "git log"
> "gl" instead of "git pull"
> "gp" instead of "git push"
>
> For staging and committing I use tig
> https://www.atlassian.com/blog/git/git-tig
> which is in Ubuntu (sudo apt install tig)
>
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180209/03031467/attachment-0001.html>


More information about the User mailing list