This website requires JavaScript.
Explore
Help
Sign In
terry
/
git-command-list
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
2
Commits
2
Branches
0
Tags
62c48c35fd788853588aa069a60f4da45b0f59ce
T
Code
Clone
HTTPS
Tea CLI
Open with VS Code
Open with VSCodium
Open with Intellij IDEA
Download ZIP
Download TAR.GZ
Download BUNDLE
terryLP
62c48c35fd
添加分支操作
2024-08-28 15:14:59 +08:00
readme.md
添加分支操作
2024-08-28 15:14:59 +08:00
readme.md
readme.md
Git Command Demo
本地初始化及提交本地仓库
git init
git add *.c
git commit -m "初始化项目版本"
git log
推送改动到远程
git remote add origin <远程地址> //仅一次
git push origin master
分支操作
查看分支
git branch
创建分支 git branch test
切换分支 git chekout test
创建并切换分支 git checkout -b test
Reference in new issue
View Git Blame
Copy Permalink
S
Description
demo for git command
Readme
24
KiB
0
Stars
1
Watchers
0
Forks