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

Publicado el: 18 agosto 2023
en el 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.


En esta página del sitio puede ver el video en línea Learn Git Commands | Staging Changes | Git Add | Git Reset de Duración hora minuto segunda en buena calidad , que subió el usuario Hacking into Coding 18 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 160 veces y le gustó 2 a los espectadores. Disfruta viendo!