Skip to content

Git

设置用户

git config --global user.name Rhyheart
git config --global user.email 8120183@qq.com

设置执行策略

Set-ExecutionPolicy RemoteSigned

回退版本

git reset --hard [commit_id]

强制推送

git push origin [branch_name] --force