paint-brush
Why You Shouldn’t Be Afraid of Rebases in Gitby@marcinwosinek
1,061 reads
1,061 reads

Why You Shouldn’t Be Afraid of Rebases in Git

by Marcin Wosinek8mDecember 7th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Rebases are a way of making your crude commit history into something you’ll want to share with the rest of your team. To perform a rebase, you run `git rebase <commit-reference>`. Commit reference can be anything—for example: branch name, tag, commit id, or commit id. A simple rebase takes changes from one place (one base), and moves them to another. It changes the spot where the history branched off, so we move our branch to start from a different place.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Why You Shouldn’t Be Afraid of Rebases in Git
Marcin Wosinek HackerNoon profile picture
Marcin Wosinek

Marcin Wosinek

@marcinwosinek

I'm a JavaScript developer. I'm here to teach you useful skills, so you can succeed in your work & private projects.

Learn More
LEARN MORE ABOUT @MARCINWOSINEK'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Marcin Wosinek HackerNoon profile picture
Marcin Wosinek@marcinwosinek
I'm a JavaScript developer. I'm here to teach you useful skills, so you can succeed in your work & private projects.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Alvinashcraft
Coffee-web
Learnrepo