-
全局设置
- git config --global user.name "PETERMAOSX"
- git config --global user.email "[email protected]"
-
基本操作
-
git init --初始化仓库
-
git status --检查仓库的状态
-
git add --向暂存区中添加文件
-
git commit --保存仓库的历史记录
-
git remote add origin https://github.com/PETERMAOSX/Temp.git
-
git branch -M main
-
git push -u origin main
-
-
分支
- 创建 git branch Feature-A
- 切换到Feature-A git checkout Feature-A
- 一步到位 git checkout -b Feature-A
-
Notifications
You must be signed in to change notification settings - Fork 0
PETERMAOSX/Python_Projects
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published