# linuxgit **Repository Path**: aminglinux/linuxgit ## Basic Information - **Project Name**: linuxgit - **Description**: 学习git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-12-07 - **Last Updated**: 2022-12-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # linuxgit #### 简易的命令行入门教程: Git 全局设置: ``` git config --global user.name "aminglinux" git config --global user.email "306798658@qq.com" ``` 创建 git 仓库: ``` mkdir linuxgit cd linuxgit git init touch README.md git add README.md git commit -m "first commit" git remote add origin git@gitee.com:aminglinux/linuxgit.git git push -u origin "master" ``` 已有仓库? ``` cd existing_git_repo git remote add origin git@gitee.com:aminglinux/linuxgit.git git push -u origin "master" ```