2024-08-28 07:01:32 +00:00
|
|
|
|
## readme.md
|
|
|
|
|
|
|
|
|
|
## Git Command Demo
|
2024-08-28 07:14:59 +00:00
|
|
|
|
|
|
|
|
|
### <20><><EFBFBD>س<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD>ύ<EFBFBD><E1BDBB><EFBFBD>زֿ<D8B2>
|
2024-08-28 07:01:32 +00:00
|
|
|
|
1. git init
|
|
|
|
|
2. ```git add *.c```
|
|
|
|
|
3. git commit -m "<22><>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD>Ŀ<EFBFBD>汾"
|
2024-08-28 07:14:59 +00:00
|
|
|
|
4. git log
|
|
|
|
|
|
|
|
|
|
### <20><><EFBFBD>Ķ<CDB8><C4B6><EFBFBD>Զ<EFBFBD><D4B6>
|
|
|
|
|
1. git remote add origin <Զ<EFBFBD>̵<EFBFBD>ַ> //<2F><>һ<EFBFBD><D2BB>
|
|
|
|
|
2. git push origin master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### <20><>֧<EFBFBD><D6A7><EFBFBD><EFBFBD>
|
|
|
|
|
1. <20>鿴<EFBFBD><E9BFB4>֧
|
|
|
|
|
git branch
|
|
|
|
|
2. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧
|
|
|
|
|
git branch test
|
|
|
|
|
3. <20>л<EFBFBD><D0BB><EFBFBD>֧
|
|
|
|
|
git chekout test
|
|
|
|
|
4. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD>֧
|
|
|
|
|
git checkout -b test
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|