Codingdomain.com

Getting up speed with Git

Installing it

Linux

Select the git package in your package manager, and you should be done.

The current state of Git can be displayed in the bash shell prompt by adding $(__git_ps1 "(%s) ") to the PS1 environment variable. This function is automatically available by /etc/bash_completion.d/git.sh.

Windows

Install TortoiseGit to get a nice graphical user interface for the common tasks. Internally, it uses msysgit, so this needs to be installed as well.

During the msysgit installation, leave the "Git bash here" option checked, so you can easily open a console to run the git command line tools. from Windows Explorer.

Using the tools

Next, get started with Git!

blog comments powered by Disqus