须要熟记的git命令

ubuntu下github经常使用的命令,设置部分跳过,假设repository的名字叫hello-world: 1.建立一个新的repository: 先在github上建立并写好相关名字,描述。  $cd ~/hello-world //到hello-world目录  $git init //初始化  $git add . //把全部文件加入到索引(不想把全部文件加入,能够用gitignore
相关文章
相关标签/搜索