00git常用命令2024-01-282025-02-15gitGit文章摘要| 设置用户名 git config --global user.name xclhove 设置邮箱 git config --global user.email xclhove@qq.com 生成ssh公钥 ssh-keygen -t rsa 查看公钥 cat ~/.ssh/id_rsa.pub 在 Git 中创建一个不继承任何历史记录的分支 git checkout --orphan new_branch 支持与分享如果这篇文章对你有帮助,欢迎分享给更多人或者给予支持!分享