/README.md (f5d996df3a8521e03d12db92eea806fa7656a407) (822 bytes) (mode 100644) (type blob)
# v2
git推送需要ssh密钥,https://gitgud.io/-/user_settings/ssh_keys
点左边头像-第一行用户名-点右边编辑档案-左边ssh 密钥
用户密码是用户名和个人访问令牌。
点头像:User Settings/Edit Profile/Access Tokens,个人访问令牌,可用一个月。
gitgud个人访问令牌3月16日过期 头像个人设置:聊天下面,电子邮件上面就是。个人访问令牌
## Add your files
清除git缓存中的用户名的密码
git credential-manager uninstall
在第一次提交之前,不要忘记设置你的 git 环境:
git config --global user.name "dongg"
git config --global user.email "771281703@qq.com"
```
cd existing_repo
git remote add origin https://gitgud.io/m1/m2.git
git branch -M master
git push -uf origin master
```
## Integrate with your tools
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
822 |
f5d996df3a8521e03d12db92eea806fa7656a407 |
README.md |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/dongge/m4
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/dongge/m4
Clone this repository using git:
git clone git://git.rocketgit.com/user/dongge/m4
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main