提交更改git密码教程
This commit is contained in:
parent
7056a36395
commit
995a65d1be
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
|
|
@ -0,0 +1,31 @@
|
|||
# **公司Git账号更改密码教程**
|
||||
|
||||
> <div><span>发布者:技术组</span></div>
|
||||
> <div><span>版本号:1.0 </span></div>
|
||||
> <div><span>发布时间:2023.05.10 </span></div>
|
||||
|
||||
# **目的**
|
||||
|
||||
1. 加强公司Git规范管理。
|
||||
2. 要求大家定期进行更改密码和不准使用默认的密码。
|
||||
|
||||
# **步骤**
|
||||
|
||||
1. 使用原账号密码,登陆公司Gitea系统。
|
||||
|
||||
- 登陆地址:http://47.107.61.133:3000/user/login。
|
||||
|
||||
- 忘记密码,打开cmd窗口,执行`git config user.password`查看。
|
||||
|
||||
|
||||
2. 点击头像,进入个人设置,点击账号,进行更改新密码。
|
||||
|
||||
- 更改密码地址:http://47.107.61.133:3000/user/settings/account
|
||||
|
||||
|
||||

|
||||
|
||||
3. 本机git环境,替换最新的密码。
|
||||
- 打开cmd窗口,执行`git config --global user.password "(新的密码)"`。
|
||||
- 可以使用通过工具,拉取代码,当检测密码错误时,会自动弹窗,按照弹窗填写新密码即可。
|
||||
4. 检查原有git项目,是否能够正常拉取和提交即可。
|
||||
Loading…
Reference in New Issue