Тёмный

Git revert vs reset: What's the difference? 

Cameron McKenzie
Подписаться 22 тыс.
Просмотров 5 тыс.
50% 1

Опубликовано:

 

7 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@ryanprasad2090
@ryanprasad2090 8 месяцев назад
Thanks for making this material for us!
@cameronmcnz
@cameronmcnz 8 месяцев назад
Thanks for watching! I made a bunch of short videos on specific topics in the past. Just published a long one on Git and GitHub. Check it out. It's got an upgraded mic and camera too! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-l2yrJtwoC_E.html
@pavelprchal8625
@pavelprchal8625 13 дней назад
100x better than established books!
@cameronmcnz
@cameronmcnz 13 дней назад
My goal was 1000x better. I have failed you. 😥 Thanks for watching!
@yst7
@yst7 7 месяцев назад
Thank you very much !
@cameronmcnz
@cameronmcnz 7 месяцев назад
My pleasure!
@ИванЖалдак-ю8у
@ИванЖалдак-ю8у 11 месяцев назад
what? Only 34 likes? You guys have no soul.
@cameronmcnz
@cameronmcnz 11 месяцев назад
I get no love on RU-vid. 😥 Thanks for watching!
@ayekoe
@ayekoe 6 месяцев назад
but advice, there are time where u need git revert!
@cameronmcnz
@cameronmcnz 6 месяцев назад
Git revert is so much safer than reset. You can't reset if you've pushed to GitHub or GitLab. But locally, I'm a 'git reset hard' type of guy!
@sixtooxford7242
@sixtooxford7242 4 года назад
In all my years programming I have never found a good use of git revert.
@ayekoe
@ayekoe 6 месяцев назад
well u havent had much issues then
@DelkorYT
@DelkorYT 11 месяцев назад
What if you pushed the bad commit to github before doing the reset? Then git pull would throw errors
@cameronmcnz
@cameronmcnz 11 месяцев назад
Yeah, don't do that.
@justchris5806
@justchris5806 25 дней назад
@@cameronmcnz A git push --force works But I think we should avoid that?
@woddenhorse
@woddenhorse 2 года назад
Thanks
@cameronmcnz
@cameronmcnz 11 месяцев назад
Happy to help!
Далее
Git vs. GitHub: What's the difference?
10:06
Просмотров 397 тыс.
ВЫЖИЛ В ДРЕВНЕМ ЕГИПТЕ!
13:09
Просмотров 308 тыс.
Git rebase is not that scary
21:44
Просмотров 22 тыс.
What is a bare Git repo and why you need them
5:55
Просмотров 67 тыс.
git rebase - Why, When & How to fix conflicts
9:45
Просмотров 51 тыс.
10 Must Know Git Commands That Almost Nobody Knows
15:22
How to Undo Mistakes With Git Using the Command Line
55:21
Git Reset | How to Use Git Reset | Learn Git
10:23
Просмотров 11 тыс.
Git Reset and Revert Commands
17:05
Просмотров 41 тыс.
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
ВЫЖИЛ В ДРЕВНЕМ ЕГИПТЕ!
13:09
Просмотров 308 тыс.