Git & GitHub Tutorial for Beginners #5 - Staging files

Git & GitHub Tutorial for Beginners #5 - Staging files

Net Ninja

7 лет назад

184,373 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Escko
Escko - 19.07.2023 21:40

Ответить
Praful Rane
Praful Rane - 22.04.2023 10:58

Anyone in 2023

Ответить
Henri Toukkari
Henri Toukkari - 19.04.2023 14:32

Very straightforward tutorial. Thank you : )

Ответить
Bogdan Mihalciu
Bogdan Mihalciu - 18.03.2023 17:03

you are a legend!

Ответить
Jeet Soni
Jeet Soni - 15.12.2022 00:10

how Do i add multiple selected files to staging area is there a shortcut to pick out multiple selected files?

Ответить
Ludvig
Ludvig - 15.06.2022 20:33

I have to say your tutorials are the best ive come across, you explain things so well from the ground up. thanks again

Ответить
Gabro
Gabro - 13.06.2022 19:34

Thank you! I have two points to add:

- To add everything, rather than using git add . you want to use git add -A. The former adds everything in the current working directory only, and not everywhere in the local repo. The latter does exactly that.
- I see that if you unstage a new file, it goes to being untracked. Can we keep it tracked, but not staged? The point is if we want to stash it before switching branches, we want it to be tracked but not staged or cached. Or is the only solution stashing untracked and tracked files?

Thank you once more!

Ответить
Ansar Qazi
Ansar Qazi - 18.05.2022 18:55

Very Helpful.!

Ответить
Isaac Muniz
Isaac Muniz - 11.09.2021 04:55

Very nice. Specially to understand why there is a staging area. Thank you"" <3

Ответить
yinon b
yinon b - 30.08.2021 15:12

Great tut for begginers

Ответить
Dev
Dev - 16.02.2021 10:04

thanks sir ! as always

Ответить
Connor Gilbert
Connor Gilbert - 16.01.2021 07:01

What does untracked files mean?

Ответить
Heavydirtysoul
Heavydirtysoul - 27.10.2020 17:05

You explain how to work with git using simple cmd.
While other tutors are going into github theme right away.
And thus they miss some points that are valuable for understanding git.
That's why this is the best git tutorial so far.

Ответить
LifeWithoutBigBrother
LifeWithoutBigBrother - 29.09.2020 10:38

Dude your tutorials are freakin awesome 👏🏻 👏🏻 👏🏻 well done man. My brain just grew a little bit haha

Ответить
Diego Cabulo
Diego Cabulo - 10.09.2020 03:26

ty for every video you make fully support you

Ответить
Mawadda
Mawadda - 24.08.2020 18:45

i looovve youuu <3 <3

Ответить
Siddhant Pathak
Siddhant Pathak - 15.08.2020 14:20

Wish you had generalized the tutorial for users other than atom :(

Ответить
Nicolás Rodolfo Aguayo Salas
Nicolás Rodolfo Aguayo Salas - 13.06.2020 23:18

Really good tutorials, just a quick fix: git add . means adding the current directory, you could also use git add * that means add everything. A little concept error. * is more general and you could even extend it to adding certain types of files, e.g.: git add *.html -> means you're adding every single file of type html

Ответить
Tuğçe Hilal
Tuğçe Hilal - 16.05.2020 17:30

thanks for great tutorial. there is something confusing me. it says "why don't we just commit straight away when we make our commit without ever having to add things to this staging area ...another reason is split our work into separate commits" couldn't we still split our work into separate commits without staging area?

Ответить
abugsbunny
abugsbunny - 24.04.2020 13:18

Thanks for a great tutorial!!

Ответить