猿问

求问git remote add origin .git 中的origin是什么意思?

【github】git remote add origin .git 中的origin是什么意思?

下面是github网站中给出的解释,无奈英文太差,不懂。请教大牛。
A remote is a repository stored on another computer, in this case on GitHub's server. It is standard practice (and also the default in some cases) to give the name origin to the remote that points to your main offsite repository (for example, your GitHub repository).

www说
浏览 1812回答 2
2回答

缥缈止盈

origin 是默认的远程版本库的名字,一般大家都这么用,你也可以取其他名字比如thisIsNotOrigin什么的,在.git/config中有相应的设置。
随时随地看视频慕课网APP
我要回答