View on GitHub

presentations

Presentation notes from JMU Unix Users Group meetings

Advanced git tricks


add patch


bisect

https://git-scm.com/docs/git-bisect


cherry-pick


commit amend


gitattributes

https://git-scm.com/docs/gitattributes


Pretty history

Also, aliasing:


rebase

https://git-scm.com/docs/git-rebase


reflog

https://git-scm.com/docs/git-reflog


ssh signing

git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/examplekey.pub
git commit -S -m "My commit msg"
git config --global commit.gpgsign true

https://docs.gitlab.com/user/project/repository/signed_commits/ssh/


worktrees

https://git-scm.com/docs/git-worktree