当前位置: 首页 > 工具软件 > ControlTool > 使用案例 >

Useful version control tool - git

谭铭
2023-12-01

To get source: 

 

$git clone <source-path> <your-dir>

 

To upstream local to remote git repo

 

$git add .

 

$git commit -m "<log message>"

 

$git push <target-path> <branch>

 

Also you can see log by command "git log"

 

$git log

 

To get the lastest modified file:

 

$git pull

 

To remove file and sync source

 

$git add -u

 

$git commit -m "<reason>"

 

$git push

 

 

 类似资料: