|
|
|
@ -76,14 +76,18 @@ def getsource(url):
|
|
|
|
|
winget install --id Git.Git -e --source winget
|
|
|
|
|
## 或者官网下载
|
|
|
|
|
https://git-scm.com/download/win
|
|
|
|
|
# 在powershell中使用
|
|
|
|
|
vim $PROFILE
|
|
|
|
|
## 修改相应的位置为 GITPATH = ~/Git/cmd/git.exe
|
|
|
|
|
## SetAlias git $GITPATH
|
|
|
|
|
|
|
|
|
|
git init
|
|
|
|
|
git add README.md
|
|
|
|
|
git remote add origin https://bdgit.educoder.net/mf942lkca/milkSpider.git
|
|
|
|
|
git pull https://bdgit.educoder.net/mf942lkca/milkSpider.git
|
|
|
|
|
|
|
|
|
|
git add *.py
|
|
|
|
|
git push -u origin master
|
|
|
|
|
git commit -m "update" # 先添加一个commit
|
|
|
|
|
git add *.py # 添加要push的本地内容到一个本地临时仓库
|
|
|
|
|
git push -u origin master # push, 出错就 -f(注意会造成不可回避的损失)
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### selenium
|
|
|
|
|