git的用法和一些问题

git config --system --unset credential.helper 

清除输入错误的密码

 

git config --global user.name "王旭东001"      

git config --global user.email "7650972+wangxudong001@user.noreply.gitee.com"

如果是第一次使用git先执行上面两条命令全局配置一下,之后不用再配置

进入要上传的文件

然后

 

git init

git add -A

git commit -m '修改的内容'

git remote add origin https://gitee.com/wangxudong001/my_vue.git

git push -u origin master

 

提交成功

 

下载代码

 git clone 网址

 

posted @ 2020-10-26 15:48  Python从入门到放弃o  阅读(55)  评论(0编辑  收藏  举报