首页| 论坛| 消息
主题:git
北斗星发表于 2019-01-04 10:45
Git global setup
git config --global user.name "root"
git config --global user.email "124657@qq.com"
Create a new repository
git clone git@192.168.1.212:root/fqq_pacong.git
cd fqq_pacong
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
Existing folder
cd existing_folder
git init
git remote add origin git@192.168.1.212:root/fqq_pacong.git
git add .
git commit -m "Initial commit"
git push -u origin master
Existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin git@192.168.1.212:root/fqq_pacong.git
git push -u origin --all
git push -u origin --tags

qhx2.0_android

git checkout -b weng_s origin/weng_s
回帖(0):

全部回帖(0)»
最新回帖
收藏本帖
发新帖