First you need to download raw file with all aliases:
curl -o gitalias https://raw.githubusercontent.com/bnbsystems/git_config/refs/heads/master/gitaliasthen you need to type in console this command:
git config --global include.path /PathToFile/gitaliasTo configure .gitconfig file you need to run this command:
git config --global --editand then write this text inside console editor:
[include]
path = /PathToRepos/git_config/gitaliasBelow are cases where you could apply aliases.
git sgit aliasesTo command git aliases add letter 'd' (like definition) to see the definition of aliases:
git aliasesdAre you tired of writing git add, git commit message, git push origin and than you need to check logs? You can run it with one command ACP:
ACP stand for Add, Commit Push
git acp "message" git download https://github.com/bnbsystems/git_config.gitBelow examples are run agains https://github.com/fsharp/fsharp repository
git authors | head -10When I need to go deep into code, I do not know what file is importen. Maybe if I could get information about most often changed files?
Yes, you can do it, by running churn commaned
git churnYes. Clean-all
git clean-allgit find-file ".exe"Just write git history
git histIf you write 'histd' than you will get history with commit messages.
Magic word is root
git rootLike ls but with ignore sufix:
git ls-ignoregit siurgit unmerged-branches Yes, you can, but this is still work in progress and you need to have graphviz application
git graphviz -n10 > graph.dot
graphviz\dot.exe -Tpng graph.dot -o graph.png






