每次上板前都應該branch一個版本出來
並且push 到server.
樣樣revert比較快.
clone specific version from remote
$ git clone $URL $ git reset --hard $SHA1 EX:git reset --hard 5201870025b316252008882aecbd2e2fd8d68787 To again go back to the most recent commit $ git pull
push branch to remote
$ git remote -v shows remote repository name and url //基於此版本 branch 一個 版本出來 $ git branch branch_name 切換 branch $ git check branch_name push branch $ git push repository_name branch_name
沒有留言:
張貼留言