• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

private knowhow


Commit MetaInfo

Revisionec1248a5e07e344ddefa440e1f89c1b9e4190cb8 (tree)
Zeit2022-07-01 03:25:59
Autorhyperoga <hyperoga@gmai...>
Commiterhyperoga

Log Message

add 40.9

Ändern Zusammenfassung

Diff

--- a/git.txt
+++ b/git.txt
@@ -626,3 +626,26 @@ fatal: git-http-push failed
626626 fetch = +refs/heads/*:refs/remotes/origin/*
627627 url = hyperoga@git.pf.sourceforge.jp:/gitroot/h/hy/hyperoga/WinDev.git
628628
629+40.9
630+git pull
631+There is no tracking information for the current branch.
632+Please specify which branch you want to merge with.
633+See git-pull(1) for details
634+
635+ git pull <remote> <branch>
636+
637+If you wish to set tracking information for this branch you can do so with:
638+
639+ git branch --set-upstream-to=origin/<branch> master
640+
641+ ■原因
642+ Git は、 git pull の基本形である git pull <remote> <branch> の <remote>
643+ と <branch> が省略された場合「カレントブランチの upstream からカレント
644+ ブランチに pull する」という挙動にフォールバックします。
645+ そのときにカレントブランチの upstream がわからないと、上の出力のように
646+ 「どのブランチを pull ( merge )すればいいのかわかりません」と言われます。
647+
648+ ■対策
649+ 通常の場合は、以下を実行する
650+ git branch --set-upstream-to=origin/<branch> master
651+