我的git笔记
Sunday, April 16, 2017
8:45 PM
![, GiRgit , github , , , code , (GotGitHub) , for , , fäbfigit , , EijiÉo Windows Git , http://msysgit. github. i o/ msysGit fi , git ( ssh 7 , Git ——global user. name yanhaijing g it config g it config global user. email yanhaijingyeah. net g it config g it help config ——global core. autocrlf input g it config ssh—keygen —t rsa —C yanhaijingyeah. net —T g i tog i thub. com g it add file . g it init g it status g it commit —m g it remote add origin gitgithub. com:yanhaijing/test. g it push —u origin master push g it clone git://gi thub. com/yanhaijing/data. js. g it g it clone git://gi thub. com/schacon/grit. g it mypro# g it add g it rm —f g it rm —cached g it mv file from fi le g it log* g it commit g it commit —m message’ g it commit g it commit —amend g it reset HEAD g it checkout - file g it checkout branchl tagl commit g it checkout file name g it branch* g it branch g it br anch g it branch g it branch ——merge# g it branch g it bra test5F nch test g it checkout test g it checkout —b t t checkout —b test est dev g it branch —d test* FJåff]Rtest5F g it branch —D test g it mer g it rebase mastermas ge test test g it fetch originname branchname# gitlll erg e originname g it push originname branchname# g it push orig inname local branch: serverbranch# g it checkout —b test origin/ dev g it push origin : server E-gitæ , g it remote add origin I gi tog i thub. com:yanhaijing/data. js. g it g it remote ame origin I origin2# g it remote g it remote show origin g it remoteff]- g it remote ren rm origin g it tag Y version L g it tag vO. g it tag —a v g it checkout tag g it push origin v 1.5 g it g it tag —d vO. push origin —tags# g it push origin : refs/ tags/vO. g it help g it status • GitifiÅÉ_Bh Git Magic Git Community Book Pro Git gi learnGitBranching . http://t.cn/R70Vke
查看源微博
已使用 Microsoft OneNote 2016 创建。
