[面試題] git push origin master
每天練一點面試題,避免要面試的時候,考官跟你彼此面面相覷尷尬吧!
這個指令假定你的本機有個分支名叫:master ,他會幫你在遠端分支也建立一個叫 master 的分支。
通常會在我們本機建立新分支,而 GitHub 上沒有這個分支時,當你 git push 上去,他就會說:sorry 遠端沒有分支喔,要不要建一個,這個時候就會用到。
These were the top 10 stories published by CodeForMyself in 2021. You can also dive into monthly archives for 2021 by using the calendar at the top of this page.