
在web端创建项目
http://121.40.204.139:8085/username/xxx_autotest
Git global setup
git config --global user.name "xxx"git config --global user.email "xxxxx@163.com"create a new repository
git clone http://121.40.204.139:8085/username/xxx_autotest.gitcd znfz_autotesttouch README.mdgit add README.mdgit commit -m "add README"git push -u origin masterPush an existing folder
cd existing_foldergit initgit remote add origin http://121.40.204.139:8085/qianyanyan/znfz_autotest.gitgit add .git commit -m "Initial commit"git push -u origin masterPush an existing Git repository
cd existing_repogit remote rename origin old-origingit remote add origin http://121.40.204.139:8085/qianyanyan/znfz_autotest.gitgit push -u origin --allgit push -u origin --tags常见用法
克隆单个仓库:git clone http://121.40.204.139:8085/qianyanyan/znfz_autotest
创建分支:git branch qyy_dev
切换分支:git checkout qyy_dev
查看状态:git status
本文介绍了如何在Web端通过git进行项目管理,包括克隆仓库、创建分支、提交更改和推送操作,适合初学者了解git基本用法。
9421

被折叠的 条评论
为什么被折叠?



