Git Command 发表于 2023-03-28 更新于 2024-01-25 阅读次数: 本文字数: 89 阅读时长 ≈ 1 分钟 Frequently used git commands Git Quick Startversion fallback12345678# you need to be in the branch you want to fall back# input "q" to quit# write down the commit number, let us assume it it aa11bb22cc33dd44git log# you can fallback to the specific commit you want# please remember to save your original or it will be erasedgit reset --hard aa11bb22cc33dd44 display branch12345git branch# output shown as following# WI325-Simon-0413# *develop (current branch with "*") delete branch1git branch -d WI325-Simon-0413