时间:2023-04-30 12:06:02 | 来源:网站运营
时间:2023-04-30 12:06:02 来源:网站运营
gitee简单使用教程:winget install Git.Git
对于Ubuntu等使用apt包管理器的发行版:sudo apt install git
对于mac(安装了brew包管理器)sudo brew install git
https://gitee.com/wtyqqq/xxxxxxxx.git
PS C:/Users/wty02/test> git clone https://gitee.com/wtyqqq/dsp2022labs.git Cloning into 'dsp2022labs'... remote: Enumerating objects: 71, done. remote: Counting objects: 100% (71/71), done. remote: Compressing objects: 100% (48/48), done. remote: Total 71 (delta 13), reused 66 (delta 12), pack-reused 0R Receiving objects: 100% (71/71), 37.89 KiB | 104.00 KiB/s, done. Resolving deltas: 100% (13/13), done.PS C:/Users/wty02/test> git config --global user.name "Tianyi Wang" #这里记得将Tianyi Wang改为自己的名字PS C:/Users/wty02/test> git config --global user.email "xxxxxx@gmail.com" #这里记得将xxxxxx@gmail.com改为自己的名字 注意这里要对应你的gitee注册邮箱!!
然后打开你克隆的文件夹,做出对应更改(在本文是 C:/Users/wty02/test/dsp2022labs
这个文件夹)C:/Users/wty02/test/dsp2022labs
)PS C:/Users/wty02/test/dsp2022labs> git add .PS C:/Users/wty02/test/dsp2022labs> git commit -m "This is a test commit" [master 21c46a7] This is a test commit 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 *********/test.txtPS C:/Users/wty02/test/dsp2022labs> git push## 此时输入你的gitee用户名密码
关键词:教程,使用,简单