Git

Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.Git

Aalto offers access to git repository service.

Some documentation about git:

Tips and tricks

Enable colors in command outputs:

git config --global color.ui auto

Alias for fancy commit history:

git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"

Alias for listing all ignored files:

git config --global alias.ls-ignored "ls-files -o -i --exclude-standard"

You may create a .gitignore file (and add it in the repository) that contains filename patterns (globs) if you don’t want to see some files in git status; this is useful for eg. objects or other files your build process generates but you don’t want versioned.


This page is maintained by <www-admin@niksula.hut.fi>