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.days.ago
git log --after "2014-02-01" --before "2014-02-02"

Shortlog can be used for Releasenotes

## Log messaged sorted by logs (-e for showing email)
git shortlog -e
git shortlog e3e5a2c...HEAD

Reviso https://git-scm.com/docs/gitrevisions#_revision_range_summary