Never Use This Git Command! Try this instead

Publicado em: 03 Janeiro 2023
no canal de: talk2MeGooseman
292
24

It is best to avoid using the git add --all command. Instead, I use git add --patch or -p to only add files that have changed since the last commit.

Git add -p can help you avoid mistakes when adding files to your staging area. Unlike git add —all of which adds every file in the directory, this command allows you to review each change before adding it. This ensures that only the necessary changes are added and that no unnecessary files are included. This also has the added bonus of forcing you to review your code in a different matter, allowing you to potentially things you missed. For these reasons, git add -p is a much better alternative to git add —all.


Nesta página do site você pode assistir ao vídeo on-line Never Use This Git Command! Try this instead duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário talk2MeGooseman 03 Janeiro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 292 vezes e gostou 24 espectadores. Boa visualização!