# petstore **Repository Path**: isAaron/petstore ## Basic Information - **Project Name**: petstore - **Description**: 一个宠物商店 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-28 - **Last Updated**: 2022-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### Git全局设置 ``` git config --global user.name "isAarons" git config --global user.email "824855397@qq.com" ``` ### 创建git仓库 ``` mkdir petstore cd petstore git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/isAaron/petstore.git git push -u origin master ``` 已有仓库? ``` cd existing_git_repo git remote add origin https://gitee.com/isAaron/petstore.git git push -u origin master ``` ### 可以不看上面 首先要创建本地仓库,并且将远端仓库同步到本地 ``` mkdir petstore // cd petstore // 创建和初始化仓库 git init // git remote add origin https://gitee.com/isAaron/petstore.git // 链接到远程仓库 git pull origin master //通过此命令将仓库同步到本地 ``` 使用的模拟器是 ![111.png (509×310) (gitee.com)](https://gitee.com/isAaron/petstore/raw/master/teach_image/111.png) 型号:Pixel XL Api Level:28 (Pie) 注1:同步完项目之后,直接在对应的模拟器启动项目是直接可用的,但是会出现有的模拟器没有HMS core的情况,也不会自动下载,此时请使用模拟器的谷歌浏览器下载华为应用商店,下载完后会自动下载HMS core ![111.png (509×310) (gitee.com)](https://gitee.com/isAaron/petstore/raw/master/teach_image/222.png) 同步之后的运行结果 注2:本机需带有HMS SDK环境 懒人直接下载DevCod Studio安装完自动陪环境路径