git-show-branch-Ausgabe wird in meiner Git-Eingabeaufforderung angezeigt

git-show-branch-Ausgabe wird in meiner Git-Eingabeaufforderung angezeigt

Wenn ich zum Verzeichnis meines Git-Repos navigiere, zeigt mir meine Befehlszeile eine Menge Zeug. Es sieht aus wie die Ausgabe von git-show-branch. Ich habe vergeblich versucht, meine Git-Konfigurationsdatei zu bearbeiten, um die Vorgabe für [show-branch] zu ändern. In meiner Eingabeaufforderung werden bis zu 40 Commits aufgelistet und das wird langsam zu einem echten Ärgernis. Weiß jemand, wie ich meine Eingabeaufforderung wieder auf die Vorgabe zurücksetzen kann?

Das Betriebssystem ist RHEL.

So sieht meine Eingabeaufforderung aus (## ersetzt vertrauliche Informationen):

on ! [backup-master] This is the fixes I need!
 ! [checkout] Added ## and ##. This commit may be garbage
  * [master] Merge branch 'master' of /home/path/path
   ! [oldRval] Added top level cells ## and ##
----
  -  [master] Merge branch 'master' of /home/path/path
  *  [master^2] Changes to ## and level ##. Modified ## boost architecture
  *  [master^2^] Changes to all ##, some ##, many ##
  *  [master^2~2] many schematic changes. Updated ##. Updated ##
  *  [master~2] placement update done. ## done update and ongoing ## errors.
  *  [master~3] ongoing block
  *  [master~4] Updates to ##. Updated to ## for cleaner layout.
  *  [master~5^2] final fixes on ##. Separated ##.
  *  [master~5^2^] This is the fixes I need
  *  [master~6] Updated ##, ## and some ## with ## versions
+    [backup-master] this is the fixes I need
++*  [checkout] Added XX and ## . This commit may be garbage
++*+ [oldRval] Added top level cells ## and ##

Antwort1

Ehrlich gesagt bin ich nicht sicher, warum es funktioniert hat, aber als ich den Befehl „bash“ eingab, war die Eingabeaufforderung wieder normal. Ich muss in einer Art Git-Eingabeaufforderung gewesen sein.

verwandte Informationen