Squashing Git Commits Locally without Rebasing or Merging a Branch
This is useful when rewriting local history to combine a few temporary git commits into 1 commit.
Hit the subscribe button to receive more videos like this!
REFERENCES
---------------------------------------------------
► https://nickjanetakis.com/blog/squashing-git-commits-locally-without-rebasing-or-merging-a-branch
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
► https://nickjanetakis.com/courses/
THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-tools-i-use
FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: https://twitter.com/nickjanetakis
► GitHub: https://github.com/nickjj
TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:07 -- When you might want to do this
0:25 -- Going over the demo repo
1:16 -- How to pick the commit you want to squash into and then reset it
2:26 -- Creating our new commit message with all of changes we want staged
3:10 -- Showing our new commit's details
3:47 -- This is mostly useful when working locally before you push your changes
Видео Squashing Git Commits Locally without Rebasing or Merging a Branch канала Nick Janetakis
Hit the subscribe button to receive more videos like this!
REFERENCES
---------------------------------------------------
► https://nickjanetakis.com/blog/squashing-git-commits-locally-without-rebasing-or-merging-a-branch
COURSES
---------------------------------------------------
Courses I've created that focus on web dev and deployment topics.
► https://nickjanetakis.com/courses/
THE TOOLS I USE / GEAR
---------------------------------------------------
► https://nickjanetakis.com/blog/the-tools-i-use
FOLLOW ME ELSEWHERE
---------------------------------------------------
► Twitter: https://twitter.com/nickjanetakis
► GitHub: https://github.com/nickjj
TIMESTAMPS
---------------------------------------------------
0:00 -- Intro
0:07 -- When you might want to do this
0:25 -- Going over the demo repo
1:16 -- How to pick the commit you want to squash into and then reset it
2:26 -- Creating our new commit message with all of changes we want staged
3:10 -- Showing our new commit's details
3:47 -- This is mostly useful when working locally before you push your changes
Видео Squashing Git Commits Locally without Rebasing or Merging a Branch канала Nick Janetakis
Комментарии отсутствуют
Информация о видео
19 апреля 2022 г. 16:57:28
00:04:34
Другие видео канала