git tips

svnupdate对应的git操作

Iuse"gitclone"togettheinitialcheckout.AfterthatIuse"gitpull"

insidethedirectorytoupdatethecheckout,right?

Somethinglikefollowing,right?

gitclonegit://projects.reactivated.net/~dsd/libusb.git

cdlibusb

gitpull

Forsubversion,Iuse"svnco"fortheinitialcheckout,andthenI

use"svnupdate"insidethecheckoutdirectorytoupdate.

2

gitconfig--glbaluser.name'xiaojay'

写到文件~/.gitconfig

git

相关推荐