Here are a list of options I use for these commands regularly:
Add:
git add [file]: Adds a file to the staging area, preparing it for a commit.
git add -p: Stages hunks interactively.
git add .: Stages all changes, preparing them for a commit.
Reset:
git reset [file]: Unstages a file in the staging area but keeps its changes.
git reset -p: Unstages hunks interactively.
git reset: Unstages all changes in the staging area but keeps its changes.
git reset --hard: DANGEROUS! Unstages a file in the staging area and resets their changes.
Sur cette page du site, vous pouvez voir la vidéo en ligne Learn Git Commands | Staging Changes | Git Add | Git Reset durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Hacking into Coding 18 août 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 160 fois et il a aimé 2 téléspectateurs. Bon visionnage!