Git入门常用命令
工具/原料
GitBash
方法/步骤
1、Gitglobalsetupgitconfig--globaluser.name"XXX"gitconfig--globaluser.email"XXX@XXX.com"
2、Createanewreposit艺皱麾酪orygitclonegit@XXX/test.gitcdtesttouchRE帆歌达缒ADME.mdgitaddREADME.mdgitcommit-m"addREADME"gitpush-uoriginmaster
3、ExistingfolderorGit咯悝滩镞repositorycdexisting_foldergitinitgitremoteaddorigin爿讥旌护git@XXX/test.gitgitadd.gitcommitgitpush-uoriginmaster