Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 

b_b

@b_b
http://www.weblog.eliaz.fr
RSS: b_b
tous les messages de b_b
  • @b_b
    b_b @b_b PUBLIC DOMAIN 11/02/2021
    1
    @gblin
    1

    Getting The Most Out Of Git — Smashing Magazine
    ▻https://www.smashingmagazine.com/2021/02/getting-the-most-out-of-git

    Staging Selected Parts of Your Changed Files

    Luckily, Git allows us to precisely select the chunks we want to put into the next commit! All we have to do is add the -p flag to our git add command:

    git add -p imprint.html

    https://cloud.netlifyusercontent.com/assets/344dbf88-fdf9-42bb-adb4-46f01eedd629/dd1057bc-fbe7-41ee-9596-4b1e061f21f8/8-git-add-p.png

    Une astuce pour #git que je ne connaissais pas, nice :)

    b_b @b_b PUBLIC DOMAIN
    • @jeanmarie
      jeanmarie @jeanmarie CC BY-NC-SA 12/02/2021

      Je viens de tester mais j’ai l’impression que si les modifs sont trop proches, git ne fait pas la différence et les passe dans le même « chunk » :/

      jeanmarie @jeanmarie CC BY-NC-SA
    Écrire un commentaire

thèmes

  • #git
À propos de Seenthis Propriété intellectuelle Recommandations API