Massimo Caliman
by Massimo Caliman
~1 min read

Categories

  • Linux

Tags

  • code
  • en
  • linux
  • ubuntu

Our new Linux server can also be very useful for making local, regular and systematic copies of our projects in a versioning system such as subversion (svn) or git. Let’s start with Git. Installing it will help us, for example, to make a scheduled checkout of what we have on GitHub or another Git server. To install Git, we proceed as usual via apt:

$ sudo apt-get install git

We check that everything is correctly installed with:

$ git

without parameters. We need to do the initial setup of Git to tell it who we are:

sudo git config --global user.name "mcaliman"
sudo git config --global user.email "mcaliman@gmail.com"

Check the configuration with:

git config --list