須要熟記的git命令

ubuntu下github經常使用的命令,設置部分跳過,假設repository的名字叫hello-world: 1.建立一個新的repository: 先在github上建立並寫好相關名字,描述。  $cd ~/hello-world //到hello-world目錄  $git init //初始化  $git add . //把全部文件加入到索引(不想把全部文件加入,能夠用gitignore
相關文章
相關標籤/搜索