# Git学习 **Repository Path**: talentestors/git-study ## Basic Information - **Project Name**: Git学习 - **Description**: 这是学习git的仓库。 - **Primary Language**: Java - **License**: MIT - **Default Branch**: main - **Homepage**: https://lib.stazxr.cn/codenotes/devtool/git/ - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-11-16 - **Last Updated**: 2025-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Git, Learning ## README # Git学习 ### 介绍 这是学习git的仓库。 ### 简易的命令行入门教程: Git 全局设置: ```bash git config --global user.name "username" git config --global user.email "email" ``` 创建 git 仓库: ```bash mkdir sss cd sss git init -b "main" touch README.md git add README.md git commit -m "first commit" git remote add origin https://gitee.com/talentestors/sss.git git push -u origin "main" ``` 已有仓库? ```bash cd existing_git_repo git remote add origin https://gitee.com/talentestors/sss.git git push -u origin "main" ```