Git Commands

建立Remot Branch

  1. git checkout -b new_branch
  2. git push -u origin new_branch

刪除 Remote Branch

  • git push origin :new_branch
  • git push origin --delete new_branch

Git 刪除遠端的commit

  1. git reset --hard HEAD~1
  2. git push --force
  3. Fetch & Refresh 看一下是否有還原
© Kimi Tsai all right reserved.            Updated : 2023-07-12 09:04:54

results matching ""

    No results matching ""

    results matching ""

      No results matching ""