Skip to content

Instantly share code, notes, and snippets.

@tomaszprasolek
Last active April 27, 2022 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomaszprasolek/d742cc607666bd635a5226a008fd3d84 to your computer and use it in GitHub Desktop.
Save tomaszprasolek/d742cc607666bd635a5226a008fd3d84 to your computer and use it in GitHub Desktop.
My Git AutoHotKey script.
#SingleInstance force
#IfWinActive ahk_class CASCADIA_HOSTING_WINDOW_CLASS
::grc::git rebase --continue
::gmt::git mergetool
::gpf::git push --force-with-lease
::gch::git checkout
::gri::git rebase -i HEAD~
::gc::git commit
::gca::git commit --amend
::gcan::git commit --amend --no-edit
::gs::git status
::gpu::git push -u origin
::gpd::git push -d origin
::gd::git diff
::gdd::git diff --word-diff
::gdc::git diff --cached
::gl::git lgg
::gll::git lg
::gb::git branch
::ga::git add .
::glg::git lg --graph
::ah::git addhashtotasknumber
::dcu::docker-compose up --build -d
::dcd::docker-compose down -v
::kk::kubectl
::spr::dnt switch-to-projects
::spa::dnt switch-to-packages
::pur::az repos pr create --delete-source-branch true --reviewers "[ASAI]\Backend_reviewers" --open --title "some title"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment