zoukankan      html  css  js  c++  java
  • github 命令行

    在github上创建仓库:
    Create a new repository on the command line


    touch README.md
    git init
    git add README.md
    git commit -m "first commit"
    git remote add origin https://github.com/BrentHuang/MyRepo.git
    git push -u origin master


    在本地新建一个分支: git branch Branch1
    切换到你的新分支: git checkout Branch1
    将新分支发布在github上: git push origin Branch1
    在本地删除一个分支: git branch -d Branch1
    在github远程端删除一个分支: git push origin :Branch1   (分支名前的冒号代表删除)

    直接使用git pull和git push的设置

    git branch --set-upstream-to=origin/master master 
    git branch --set-upstream-to=origin/ThirdParty ThirdParty
    git config --global push.default matching

    在github上创建仓库:
    Create a new repository on the command line


    touch README.md
    git init
    git add README.md
    git commit -m "first commit"
    git remote add origin https://github.com/BrentHuang/MyRepo.git
    git push -u origin master


    在本地新建一个分支: git branch Branch1
    切换到你的新分支: git checkout Branch1
    将新分支发布在github上: git push origin Branch1
    在本地删除一个分支: git branch -d Branch1
    在github远程端删除一个分支: git push origin :Branch1   (分支名前的冒号代表删除)

    直接使用git pull和git push的设置

    git branch --set-upstream-to=origin/master master 
    git branch --set-upstream-to=origin/ThirdParty ThirdParty
    git config --global push.default matching

    http://www.baidu.com/s?wd=github+%E5%88%86%E6%94%AF%E7%AE%A1%E7%90%86&tn=SE_hldp01010_6r0gix1f

    http://www.360doc.com/content/14/1029/10/13147830_420815353.shtml

  • 相关阅读:
    使用Visual Studio .Net 做自己的汉化软件
    给所有的Control加两个属性,实现回车键自动跳转到下一个控件
    数字逗号标记—以前原创(一)
    解决w3wp.exe占用CPU和内存问题
    sql日期函数
    索引的使用总结
    w3wp.exe狂占内存
    w3wp.exe占内存CPU问题 WIN2003 IIS6.0假死现象的分析
    查看Linux系统日志
    linux动态增加LV空间
  • 原文地址:https://www.cnblogs.com/terryc/p/5080009.html
Copyright © 2011-2022 走看看