Getting git-versions of the KKR code family
Getting access
Before any code can be downloaded from the gitolite server on ifflinux you have to register. To do this send an email to f.rhiem@fz-juelich.de or i.heimbach@fz-juelich.de, containing your public key and - if applicable - information on the git repository you want to work on. Please look here for more information.
Cloning a code
To download a code you simply have to clone the current version by
doing: git clone git@ifflinux[.iff.kfa-juelich.de]:projectname myname
In this example the code hast the name "projectname" and you then
create a directory "myname" into which the code is
downloaded.Currently available are:
* KKR host code (KKRjm@JuKKR), parallel version: kkr/kkrjm * Voronoi code (voronoi@JuKKR): kkr/voronoi * KKR impurity code (KKRimp@JuKKR): kkr/kkrimp * Fermi surface and scattering code (KKprime@JuKKR): kkr/pkkr * input for Fermi surface code (KKRscatter@JuKKR): kkr/kkrscatter
Note that the full path (in square brackets) needs to be added only when you want to read it from outside the FZJ.
Summary/cheat sheet
This {{:git_guide-1.pdf|short git guide}}{=mediawiki} gives you all the basic information you need to know to get started.
Tips & Tricks
To make the output of git log nicer you can define aliases in you
~/.gitconfig
file. These are quite useful:
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = blue reverse
local = blue
remote = green
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = blue
changed = green
untracked = cyan