學(xué)前端自動(dòng)化早晚要學(xué)grunt>然后學(xué)到了yeoman還要配合著bower學(xué)>然后發(fā)現(xiàn)還要學(xué)npm>學(xué)了發(fā)現(xiàn)關(guān)聯(lián)還要學(xué)git,因?yàn)橐胓ithub,學(xué)git過程中發(fā)現(xiàn)最好是要會(huì)vim,算了后面還有一堆nodejs的東西要學(xué),踩不完的坑啊今天問一個(gè)一直的疑問,下面這個(gè)git里提示的用法時(shí)具體怎么看,[],<>,|,--這些參數(shù)改怎么用usage:?git?branch?[<options>]?[-r?|?-a]?[--merged?|?--no-merged]
???or:?git?branch?[<options>]?[-l]?[-f]?<branch-name>?[<start-point>]
???or:?git?branch?[<options>]?[-r]?(-d?|?-D)?<branch-name>...
???or:?git?branch?[<options>]?(-m?|?-M)?[<old-branch>]?<new-branch>
???or:?git?branch?[<options>]?[-r?|?-a]?[--points-at]
Generic?options
????-v,?--verbose?????????show?hash?and?subject,?give?twice?for?upstream?branch
????-q,?--quiet???????????suppress?informational?messages
????-t,?--track???????????set?up?tracking?mode?(see?git-pull(1))
????--set-upstream????????change?upstream?info
????-u,?--set-upstream-to?<upstream>
??????????????????????????change?the?upstream?info
????--unset-upstream??????Unset?the?upstream?info
????--color[=<when>]??????use?colored?output
????-r,?--remotes?????????act?on?remote-tracking?branches
????--contains?<commit>???print?only?branches?that?contain?the?commit
????--abbrev[=<n>]????????use?<n>?digits?to?display?SHA-1s
Specific?git-branch?actions:
????-a,?--all?????????????list?both?remote-tracking?and?local?branches
????-d,?--delete??????????delete?fully?merged?branch
????-D????????????????????delete?branch?(even?if?not?merged)
????-m,?--move????????????move/rename?a?branch?and?its?reflog
????-M????????????????????move/rename?a?branch,?even?if?target?exists
????--list????????????????list?branch?names
????-l,?--create-reflog???create?the?branch's?reflog
????--edit-description????edit?the?description?for?the?branch
????-f,?--force???????????force?creation,?move/rename,?deletion
????--merged?<commit>?????print?only?branches?that?are?merged
????--no-merged?<commit>??print?only?branches?that?are?not?merged
????--column[=<style>]????list?branches?in?columns
????--sort?<key>??????????field?name?to?sort?on
????--points-at?<object>??print?only?branches?of?the?object
git命令,這個(gè)坑
lemon_0001
2016-09-24 14:07:44