ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
``` ## 1.初始化邮箱和账户 $ git config --global user.name "tuna" $ git config --global user.email "931309012@qq.com" ## 2. 创建目录,要与远程仓库名对应 $ mkdir microservice-config $ cd microservice-config ## 3. 初始化本地目录为git仓库目录 $ git init Initialized empty Git repository in F:/mayun/springcloud/microservice-config/.git/ ## 4. 添加新文件为git管理 $ git add microservice-config-application.yml ## 5. 提交修改到本地仓库 $ git commit -m "fisrt" microservice-config-application.yml [master (root-commit) bed82a9] fisrt 1 file changed, 20 insertions(+) create mode 100644 microservice-config-application.yml ## 6. git remote与远程仓库连接,取名叫origin 这也是默认名 $ git remote add origin https://gitee.com/tuna_dai/microservice-config.git ## 7. 将修改push到远程仓库 $ git push origin master Enumerating objects: 3, done. Counting objects: 100% (3/3), done. Delta compression using up to 8 threads Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 517 bytes | 517.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: Powered by GITEE.COM [GNK-3.8] To https://gitee.com/tuna_dai/microservice-config.git * [new branch] master -> master ```