# giteam **Repository Path**: mosszzom/giteam ## Basic Information - **Project Name**: giteam - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-05 - **Last Updated**: 2021-10-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 全局用户 设置后可以在全局 `~/.gitconfig` 本地配置文件中看到如下. ```toml [user] name = username email = username@example.com ``` 执行 ```shell git config --global user.name "username" git config --global user.email "username@example.com" ``` ### 特性分支开发 特性分支多次提交后, 被合并成一次提交到 master. ```shell # 多次提交 git branch feature git checkout feature git push origin feature # 合并到 master git checkout master git pull origin master git merge origin/feature --squash # 删除分支 git push origin -d feature git branch -D feature ``` ### fork 分支开发 一顿操作直接 Pull Request (合并时注意扁平化, 默认不是这个选项)