Git tutorial #23 - Git rebase

in #tutorials7 years ago (edited)

Hello everyone, I hope you are very well! 🤓 😎

Git rebase is a command very similar to merge, and what helps us is to unify branches, when we have a series of commits that we want to associate together, to keep a commits history a bit cleaner, we can use git rebase.

$ git rebase branch

Use only git rebase locally, because we can damage our project.

The added value for the users of rebase is to have a single line of time in master. This is what we do not like so we use merge then here is a matter of taste

Well that's all for this post.

Regards! 🤓 😎

Sort:  

Este Post ha recibido un Upvote desde la cuenta del King: @dineroconopcion, El cual es un Grupo de Soporte mantenido por 5 personas mas que quieren ayudarte a llegar hacer un Top Autor En Steemit sin tener que invertir en Steem Power. Te Gustaria Ser Parte De Este Projecto?

This Post has been Upvote from the King's Account: @dineroconopcion, It's a Support Group by 5 other people that want to help you be a Top Steemit Author without having to invest into Steem Power. Would You Like To Be Part of this Project?

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by juanpchica from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

This post has received a 0.28 % upvote from @drotto thanks to: @banjo.

This is a personal preference, but I typically tell people not to use rebase. I used to tell them not to use rebase unless they knew what they were doing, but then we ran into tons of merge conflict issues. It is great to get one single commit before you merge into the main branch, but if you get some joker changing the base for everyone else it just becomes a shit show, especially if you have a complex flow.

yes, I do not use rebase too much, I prefer merge

This post has only 7 views, but 463 votes in 3 days. how is that possible?

This is possible thanks to a great community that is called money with options where we automatically generate votes through all the members, follow them are https://steemit.com/@dineroconopcion

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63184.34
ETH 2560.17
USDT 1.00
SBD 2.72