Skip to content

Instantly share code, notes, and snippets.

@Xeinaemm
Created April 16, 2021 08:47
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 Xeinaemm/ea7cc4c17aff93732e2c74e6cd85e52d to your computer and use it in GitHub Desktop.
Save Xeinaemm/ea7cc4c17aff93732e2c74e6cd85e52d to your computer and use it in GitHub Desktop.
; **git-specific
::gs::git status
::gl::git ll
::glo::git log --oneline
::gsh::git show
::gtg::git tag -a
::gd::git diff
::gdt::git difftool
::gmt::git mergetool
::gpll::git pull
::gpsh::git push
::gc::git commit . -m "
::gcae::git commit --allow-empty
::gch::git checkout
::gchm::git checkout master
::gchd::git checkout develop
::gr::git rebase -i
::gres::git reset --soft HEAD~1
::gb::git branch
::gst::git stash
::ga::git add -p
::gai::git add -i
::gf::git fetch
::gignore::git update-index --assume-unchanged
::gunignore::git update-index --no-assume-unchanged
::gmnff::git merge --no-ff -e -m "" -
::-h::--help
::gh::git history
::rvs::Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe" -Verb RunAs | cls{enter}
::cdr::cd C:\Users\[user]\source\repos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment