git 操作 记录

回滚commit和push

git reset --soft 「commitID」
git push -f

配置某个项目user.name和user.email

修改git config文件

[user]
        name = xx
        email = xx@xx.com
posted @ 2024-01-18 19:44  huim  阅读(5)  评论(0编辑  收藏  举报