您现在的位置:首页 >> 前端 >> 内容

For My Gitweb

时间:2012/8/21 10:48:31 点击:

  核心提示:[html]For My Gitweb$ git init$ git add .$ git commit -m create this project$ git remote add origin g...
[html]
For My Gitweb 
 
$ git init 
 
$ git add . 
 
$ git commit -m "create this project" 
 
$ git remote add origin git@172.29.32.147:/home/git/kernel.git 
 
$ git branch new_branch 
 
$ git push -u origin new_branch 
 
 
 
删除本地分支 
git branch -d del_branch 
 
删除远程分支 
git push origin :del_branch 

Tags:FO OR RM MY 
作者:网络 来源:不详