でいろいろ紹介されている。
個人的には以下コマンドが使いやすく感じた。
$ git remote show origin ~ ~ Local ref configured for 'git push': master pushes to master (local out of date)
最終行に「local out of date」と書かれているので、「リモートに更新があったかどうかだけ」を知りたい場合は便利。
でいろいろ紹介されている。
個人的には以下コマンドが使いやすく感じた。
$ git remote show origin ~ ~ Local ref configured for 'git push': master pushes to master (local out of date)
最終行に「local out of date」と書かれているので、「リモートに更新があったかどうかだけ」を知りたい場合は便利。