Compare commits

..

19 Commits
down ... master

Author SHA1 Message Date
JiangXiuyu 6205c67d81 update 2022-10-24 10:27:15 +08:00
JiangXiuyu 2dd7915513 update 2022-07-21 11:35:47 +08:00
JiangXiuyu 7c2f1bc39d update 2022-07-21 11:16:01 +08:00
JiangXiuyu 81879e09eb update 2022-07-21 10:52:17 +08:00
JiangXiuyu a4015e70e0 update 2022-07-16 17:13:39 +08:00
JiangXiuyu b798151543 update 2022-07-16 17:12:49 +08:00
JiangXiuyu 8446cd0a22 update 2022-07-16 17:11:21 +08:00
JiangXiuyu 0f50fcdb09 update 2022-07-16 17:03:12 +08:00
JiangXiuyu d49a021dcf update 2022-07-16 17:01:11 +08:00
JiangXiuyu ee819848b6 update 2022-07-16 17:00:36 +08:00
JiangXiuyu 92fd0fccb5 update 2022-07-16 16:54:28 +08:00
JiangXiuyu 5763f969bb update 2022-07-07 17:26:39 +08:00
JiangXiuyu a7e8f3acaf update 2022-07-07 17:22:03 +08:00
JiangXiuyu 9aee768b90 update 2022-07-07 17:20:49 +08:00
JiangXiuyu c02842e0f3 update 2022-07-07 17:07:30 +08:00
JiangXiuyu 18b33ae233 这是一些常用命令笔记 2022-07-07 17:05:37 +08:00
JiangXiuyu 2d7da488d3 先阅读我 2022-07-07 17:03:31 +08:00
JiangXiuyu b5c19ec206 update 2022-07-07 12:02:08 +08:00
JiangXiuyu ed8e4c7720 update 2022-07-07 11:42:49 +08:00
6 changed files with 109 additions and 2 deletions

3
.gitattributes vendored Normal file
View File

@ -0,0 +1,3 @@
*.txt linguist-language=text
*.md linguist-language=text
*.png linguist-language=text

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# git.test
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -6,9 +6,9 @@
## 2.登录
**git config --global user.name "JiangXiuyu" /*配置用户名称*/** **/*global 代表优先级中级*/**
**git config --global user.name "JiangXiuyu" /*配置用户名称 global 代表优先级中级*/**
**git config --global user.email "422334010@qq.com" /*配置邮箱*/**
**git config --global user.email "422334010@qq.com" /*配置邮箱*/**
**git config --global user.password 123456 /*配置密码*/**

68
git笔记.txt Normal file
View File

@ -0,0 +1,68 @@
git局域网访问http://192.168.1.138:2700/
外部访问http://39.82.85.250:2700/
外部访问http://119.162.215.209:2700/
git下载地址
http://git-scm.com/downloads
登录问题解决的地址
https://www.cnblogs.com/goloving/p/14782692.html
https://blog.csdn.net/jsklnice/article/details/121471232
克隆超时解决地址
https://www.cnblogs.com/etangyushan/p/8992926.html
克隆git clone http://xxxx/xxxx.git
<1>git push未经授权
解决方法重置git的认证设置
git config --system --unset credential.helper
然后在git push的时候重新输入git的账号和密码即可
备注每次操作都输入账号密码比较麻烦输入下面命令保存账号密码第2次生效
git config credential.helper 'cache --timeout=3600'
git每次都要输入密码记住密码方法
https://blog.csdn.net/weixin_43795761/article/details/125011382
1、首先在Git.bash文件中输入命令
git config --global credential.helper store
2、然后你会发现你的C:\Users\用户名xx.gitconfig**文件会多出以下代码:
[credential]
helper = store**
3、紧接着使用git pull或者git push 命令根据提示输入帐号和密码。这时你的本地生成一个类似C:\Users\用户名xx.git-credentials文件用于记录帐号密码。
完成以上几步,下次就不用再次输帐号密码了。
登录用户账号
git config --global user.name "蒋修裕"
git config --global user.email "422334010@qq.com"
git remote add origin https://gitee.com/jiang-xiuyu/wem-iii.git
<2>文件上传
git status -s
git commit -m "添加到远程"
git push origin master
<3>文件夹上传(含文件)
1.cd 文件夹
2.git add .”(注意“. ”不要省略)
3.git commit -m "备注"
4.git push -u origin master
<4>删除远程仓库文件
git pull origin master
git rm --cached 文件名/git rm -r --cached 文件夹名
git commit -m update
git push -u origin master //提交到仓库
<5>如何建立分支
https://blog.csdn.net/qq_37899792/article/details/121328761
<6>如何删除分支
本地git branch -d (branchname)
线上git push origin --delete (branchname)
http://192.168.1.138:2700/JiangXiuyu/demo.git
http://192.168.1.138:2700/JiangXiuyu/demo.git
<7如何克隆分支>
git checkout -t origin/<分支名称>
<8>强制覆盖本地代码与git远程仓库保持一致//谨慎使用,是将本地数据覆盖掉,用于同步本地
git fetch --all && git reset --hard origin/master && git pull

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 KiB