Gitprompt

GIT-repository informatie weergeven in een opdrachtprompt
Download nu

Gitprompt Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • MIT/X Consortium Lic...
  • Prijs:
  • FREE
  • Naam uitgever:
  • Luke Stebbing
  • Uitgever website:
  • http://lukestebbing.com

Gitprompt Tags


Gitprompt Beschrijving

GIT-repository-informatie weergeven in een opdrachtprompt GitprompPt is een Python-module die de huidige tak weergeeft, de status van stash en rebase, en optioneel, niet-zero exit-statuscodes.Examples: om mee te nemen, maak een nieuwe repository en stel uw prompt in: $ git init; Raak X aan; git toevoegen x; Git Commit -m -M x $ Export PS1 = 'CWD $ (../ gitpromppt $?) $' De huidige branch wordt weergegeven: CWD Master $ Git Checkout -B Newcwd Nieuwe $ Git Checkout MasterCWD Master $ ECHO Y1> Y; git toevoegen y; git commit -m y1; Git Checkout NieuwHet aantal opgeslagen stashes is aangegeven: CWD NIEUWE $ ECHO Y2> Y; git toevoegen y; git stash savecwd nieuwe stash $ touch z; Git toevoegen Z; Git Stash Savecwd New Stashes! $ git stash pop; Git Stash Pop Hoehethows wordt een herbrenging aangegeven: CWD Nieuwe $ Git Rebase Mastercwd Nieuwe Rebase! $ git rebase --Abedcwd Nieuwe $ git config core.editor waar; Git Rebase --interactive MasterCWD Nieuwe Rebase! $ git rebase --Abortif gitprompt werd geslaagd voor een niet-nul exitcode, het wordt weergegeven: CWD Nieuwe $ Truecwd Nieuwe $ FALSE => 1CWD Nieuwe $ Vereisten: · Python Wat is er nieuw in deze release: · Gecorrigeerde minimale metadata-fouten.


Gitprompt Gerelateerde software