Git Cheat Sheet

Git new machine configuation Stating correct identiry: git config --global user.name "Alexander Holbreich" git config --global user.email "alexander@xxxxx.org" git config --global color.ui auto #adds some collorts to standard conosle output Some handy aliases: # ci for commit git config --global alias.ci commit # amend for commit --amend git config --global alias.amend ci --amend Commit history git log --oneline #Show diffs git log -p #Show commit stats (e.g. foo.txt | 1 + 1 file changed, 1 insertion(+) git log --stats #List commit's by author git log --author <name> #Limit by time git log --after 2023-10-20 git log --after 2....

January 20, 2023 · 1 min · Alexander Holbreich

Git

I would like to share some thoughts on GIT because I think that was a right invention at the right time and place. (This article should be finished half year ago, right after i wrote about svn server installation, but unfortunately i haven’t found any time to finish it until now.) Motivation My first version control system (VCS) was CVS and I used it with eclipse 2.0 for programming in java....

February 26, 2011 · 5 min · Alexander Holbreich