Skip to content

Instantly share code, notes, and snippets.

View huangboju's full-sized avatar

xiAo-Ju huangboju

  • 小红书
  • 上海
View GitHub Profile
@huangboju
huangboju / git.md
Last active October 26, 2023 09:18

删除远端最后三个commit

  • git reset --hard HEAD~3
  • git push --force
  • git ls-remote

拉分支,推到远端

  • git checkout -b branch_name
  • git push -u origin branch_name

查询一段时间某个人的commit