git下载地址:html
https://pc.qq.com/detail/13/detail_22693.htmlgit
经常使用git命令
git config --global user.name "wss"web
git config --global user.email 408777632@qq.com测试
进入某个文件夹 : git init 初始化code
git clone http://git.en8.top:39080/eluson/web_home_code.githtm
密码 ******rem
git remote add originhttp://git.en8.top:39080/eluson/web_home_code.git
和远程仓库创建联系get
git add .
添加到暂存区 '.'表示所有变动it
git commit -m '测试'
提交 到本地仓库email
git push
推送到远程仓库
三合一命令:
git add . && git commit -m "提交" && git push
git pull 从远程仓库获取文件更新到本地
cd 文件夹名称 进入某个文件夹
pwd 获取当前目录
git remote -v 查看当前与本地有联系的远程分支
git remote remove [name] 删除某与本地有联系的远程分支
云仓库: