赞
踩
设置用户名,这里的用户名需要和 Gitee 用户名相同
git config --global user.name "用户名"
git config --global user.email "邮箱"
git config user.name
git config user.email
ssh-keygen -t rsa -C "邮箱"
ssh -T git@gitee.com
git init
git remote add origin 远程仓库地址
git pull --rebase origin master
git add .
git commit -m '提交描述'
git push -u origin master -f
git reset abcdef
可在码云仓库概览中查看提交的版本号
命令格式为 git checkout 分支名
,例如:
git checkout master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。