git status 查看状态和是否存在.git文件
git clone [email protected]/xxx.git 将线上代码克隆到本地桌面
git status 查看工作区
git add . 新建一个空文件添加到暂存区
git commit -m ‘xxx’ 将上空文件提交到版本库(本地仓库) xxx是注释
git push 本地代码提交到线上仓库
git pull 将线上分支拉到本地
git checkout xxx 切换本地分支
git merge xxx 合并分支
git reset --hard e377f60 回滚
PS
netstat -ano|findstr 8080 查看8080端口号
扫描二维码关注公众号,回复:
12164511 查看本文章
taskkill /PID 36588 /F 中止8080端口进程