# GitTraining **Repository Path**: wang-rui-sr/git-training ## Basic Information - **Project Name**: GitTraining - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 22 - **Created**: 2024-01-05 - **Last Updated**: 2025-02-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # git 练习模板 #### W.PIE 2024 ## git 基本原理 **版本管理** ### git 工作流程 - WorkSpance\ 。工作区 - Index(Stage)\ 。暂存区 - Repository\ 。仓库区 - Remote\ 。远程仓库,以Gitee为例 ### 分支 ### 核心功能 1. 版本管理 1. git add 2. git commit 3. git check out 1. 对分支 2. 对节点 2. 协作开发 1. git push 2. git clone 3. git pull --- # 模板代码框架 ``` int is_even(int n){ return n % 2 == 0; } int main(){ return is_even(5); } ```