git常用命令

git配置账户
gitconfig --global user.email "779333472@qq.com"
git config --global user.name "779333472@qq.com"
gitignore不生效
git rm -r --cached .
git add .
git commit -am"your comment"
**拉取特定版本 **
git pull --rebase origin v1sp001
git pull --rebase
生成密钥
ssh-keygen -t rsa -b 4096 -C "779333472@qq.com"

posted @ 2022-07-18 11:14  秋水秋色  阅读(6)  评论(0编辑  收藏  举报