# GitStudy **Repository Path**: bugfixed/GitStudy ## Basic Information - **Project Name**: GitStudy - **Description**: 本项目用来学习Git练手 - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-12-08 - **Last Updated**: 2025-01-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GitStudy 本项目用来学习Git练手 **说明** master分支只有管理员有权限更改,所以你们签出代码到本地后,需要建立分支进行项目开发。 ##开发指南## **搭建开发环境** 从源代码库中签出项目源代码: ``` git clone git@gitee.com:bugfixed/GitStudy.git ``` **git使用方法** 建立分支示例 ```shell git branch dev-mengxing ``` 切换分支示例 ```shell git checkout dev-mengxing ``` 更新代码到最新版本 ```shell git pull ``` 提交代码到本地示例 ```shell git add . git commit -m "提交本地示例" ``` 提交代码到远程分支示例 ```shell #git push origin 本地分支:远程分支 git push origin dev-mengxing:dev-mengxing ```