13 lines
346 B
Plaintext
13 lines
346 B
Plaintext
git常用代码
|
|
author by miaoSpring
|
|
|
|
git clone http://git.miaospring.top:3000/539943419/wxProject-w4w.git
|
|
// 克隆代码
|
|
git pull <远程主机名> <远程分支名>:<本地分支名>
|
|
// 从远程获取代码并合并本地的版本
|
|
|
|
|
|
git add .
|
|
git commit -m "commit的内容"
|
|
git push <远程主机名> <远程分支名>
|
|
// push更新的代码 |