# demo5 **Repository Path**: jialeliu/demo5 ## Basic Information - **Project Name**: demo5 - **Description**: React-native 学习 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-09 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # demo5 #### 介绍 React-native 学习 #### 使用说明 1. git clone https://gitee.com/jialeliu/demo5.git 2. git add . 3. git commit -m '修改readme.md' 4. git push #### git使用帮助 1. git init:初始化本地库 2. git add :将工作区的“新建/修改”添加到暂存区 3. git rm --cached :移除暂存区的修改 4. git commit -m "提交日志" :文件从暂存区到本地库 ----------------- 5. git branch -v:查看所有分支 6. git branch -d <分支名>:删除本地分支 7. git branch <分支名>:新建分支 8. git checkout <分支名>:切换分支 ------------------ 9. git clone <远程库地址>:克隆远程库 (①完整的克隆远程库为本地库,②为本地库新建origin别名,③初始化本地库) 10. git remote -v:查看远程库地址别名 11. git push <别名> <分支名>:本地库某个分支推送到远程库,分支必须指定 12. git pull <别名> <分支名>:把远程库的修改拉取到本地