Learn Git Commands | Staging Changes | Git Add | Git Reset

Publicado em: 18 Agosto 2023
no canal de: Hacking into Coding
160
2

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.


Nesta página do site você pode assistir ao vídeo on-line Learn Git Commands | Staging Changes | Git Add | Git Reset duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Hacking into Coding 18 Agosto 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 160 vezes e gostou 2 espectadores. Boa visualização!