Michael Kelly · @mkelly
54 followers · 151 posts · Server techhub.social

Reading this part of the book git-scm.com/book/en/v2/Git-Too on again because I haven't used git at work for a while and my personal projects rarely require much sophistication.

I like this pattern:
```
git log -$n
git rebase -i HEAD~$n
```
Where `$n` is the number of commits back to go. It lets you double-check how far back you want to start rebasing.

#git #rebase #til

Last updated 1 year ago

Si · @devtips
10 followers · 17 posts · Server techhub.social

One of my biggest gripes with was the constant need to when another MR is merged.

On a high frequency project, and/or a project with long-running pipelines, this can lead to quite the impact on productivity.

Today I implemented a script into a pipeline that automatically rebases open/non-draft MRs on merge.

#codereview #rebase #gitlab #code #review #git #merge

Last updated 1 year ago

Tell me you don't know how to without telling me.

#rebase

Last updated 1 year ago

Guilherme · @gmgall
62 followers · 661 posts · Server bolha.us
Marc JESTIN — Happy Numeric · @mjhn
39 followers · 136 posts · Server piaille.fr

Lien vers la vidéo « Savez-vous vraiment comment fonctionne ? » DEVOXX FR ajouté.

Bonne vidéo, didactique, présentation claire.

happynumeric.fr/mediawiki/inde

 

🙏🌞

#git #commit #tree #hash #merge #rebase #pull #fetch #push #garbagecollection

Last updated 1 year ago

Joe Steinbring :thisisfine: · @joe
465 followers · 4206 posts · Server toot.works

🤔 Is crawl into a ball under my desk and cry an option?

#git #rebase #merge #umm

Last updated 1 year ago

Eric G. · @ericg
69 followers · 955 posts · Server sanjuans.life

I've some decent skills using .

However, some days, I can find myself in a long, absurd series of tech pratfalls where all my attempts become increasingly more comedic.

The series normally starts with "Oh, I'll just that real quick"

#git #rebase

Last updated 1 year ago

CryptoNewsBot · @cryptonewsbot
463 followers · 22379 posts · Server schleuss.online
robrich · @robrich
9 followers · 75 posts · Server hachyderm.io

dev.to/jenc/git-rebase-for-pre - a bunch of methods to to prevent commits fi you light straighter history. Nice article with deep analysis of each method @jenc.

#git #rebase #merge

Last updated 1 year ago

Helmut Strasser · @helmutstrasser
47 followers · 202 posts · Server mstdn.social

Had some fun figuring out today. The outcome was: Don't pull a (semi-)public branch 'origin/feature', which diverged from its local branch 'feature' after its parent branch 'develop' has been rebased onto it, if you don't want seeing a fork after merging 'feature' back into 'develop'.
Yes, it only sounds half complicated like it behaves in real life.
:parrot_dad:

#rebase #Git

Last updated 1 year ago

Aral Balkan · @aral
32594 followers · 23022 posts · Server mastodon.ar.al

So today I realised that I forgot to add the global setting to make me automatically sign my git commits:

git config --global commit.gpgsign true

(Just setting up your user.signingkey isn’t enough.)

Also, you can go rebase your whole history to sign all your commits using:

git rebase --signoff --root

(However, you’ll end up with a linear history and lose any branch/merge history, etc.)

#signoff #rebase #signedcommits #signatures #gpg #commit #git

Last updated 1 year ago

Jan De Dobbeleer :terminal: · @jan
977 followers · 36 posts · Server social.ohmyposh.dev

Alright, the first impression is that @sapling and I are going to get along just fine. Why? It’s as opinionated as I am in regards to workflows and friendly so I can see myself use this to interact with repositories as it feels very natural.

Also building a segment for 🫣

#rebase #git #sapling #ohmyposh

Last updated 2 years ago

Stephen Belovarich · @iplayitofflegit
106 followers · 218 posts · Server uiuxdev.social

Lots of engineers at Workday were rebasing. When I showed them how to properly keep their main branch up to date, from upstream main, they never went back to . In a monorepo with lots of package.json changes rebase was hell.

#merge #rebase

Last updated 2 years ago

gemma lynn · @ellotheth
1143 followers · 1212 posts · Server bsd.network

always fun to investigate a weird merge by doing the same your teammate did and get a wildly divergent result. good times, good times.

#git #rebase

Last updated 2 years ago

Tobias Schäfer · @tschaefer
5 followers · 19 posts · Server m.fru.bar

#git #rebase

Last updated 2 years ago

How do you merge a PR on GitHub? 🤨

I mean, ok, you hit the green button at the bottom of the page... but do you have a strategy?

GitHub lets you merge a PR in three different ways: merge commit, squash and rebase.

Cool! Isn't merge commit just fine? Well... you're probably missing out of some extra benefits from squash or rebase, depending on your project and team practices.

Here's an interesting overview: youtu.be/rFRtsiQEJZw

#github #pullrequest #squash #rebase

Last updated 2 years ago

How do you merge a PR on GitHub? 🤨

I mean, ok, you hit the green button at the bottom of the page... but do you have a strategy?

GitHub lets you merge a PR in three different ways: merge commit, squash and rebase.

Cool! Isn't merge commit just fine? Well... you're probably missing out of some extra benefits from squash or rebase, depending on your project and team practices.

Here's an interesting overview: youtu.be/rFRtsiQEJZw

#github #pullrequest #squash #rebase

Last updated 2 years ago

@christosilvia that can be tricky and frustrating. You could consider doing merge via a script or alias. Where you do a `git pull --rebase` before running a merge, so you can handle the conflict as part of the . This is where tools are super helpful. I use ( client for ) and find it very helpful. Hopefully the tags attract some more helpful suggestions.
@arth

#rebase #magit #git #emacs

Last updated 2 years ago

ambrwlsn · @ambrwlsn
166 followers · 20 posts · Server indieweb.social

Just found a nearly complete article I wrote on rebasing.. should I finish it? Does anyone still rebase?!

#git #rebase #webdevelopment #webdev

Last updated 2 years ago

Alex Rio · @Rio
48 followers · 1276 posts · Server mastodon.social

Le vendredi matin, git push origin {branch} --fonce devrait être une syntaxe valide pour push --force

#git #rebase

Last updated 2 years ago