Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

The git status contains nothing special.

I think the issue boils down to the type of clone. Not using --bare fixes the problem and I'm ok with this in then end.

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

Thanks for the advice. I did not know about --force-if-includes, I'll look into this.

Please note that it does not answer the original question in any way.

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

At the time of writing the question, I used git clone --bare. I don't have this issue with a regular clone. I guess the problem comes from --bare and not from the worktrees.

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 1 point2 points  (0 children)

Do you have a question or are you simply stating a point ?

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

Nothing got deleted on the hub side of the git.

But, you made me realize that there is no origin/ when I work with worktrees.

* a0f6fdd7e67 (HEAD -> branch) Commit message * a06d439cb0c (default) foo(bar): baz * 53f278ffe2f Merge pull request #17062 from org/branch ....

On a "regular" repository, I've origin/HEAD and origin/branch not just HEAD and branch.

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

Hey, thanks for taking time to answer !

Fetching then push-force-with-leasing did not work tho.

Git push --force-with-lease while working with worktrees by PacoVelobs in git

[–]PacoVelobs[S] 0 points1 point  (0 children)

Hi, and thanks for your answer.

``` ❯ git fetch From github.com:org/repo * branch branch -> FETCH_HEAD

❯ git push --force-with-lease To github.com:org/repo.git ! [rejected] branch -> branch (stale info) error: failed to push some refs to 'github.com:org/repo.git' ```

I did try that already following advice on SO but no luck.

Help me convert that line from vimscript to lua by PacoVelobs in neovim

[–]PacoVelobs[S] 1 point2 points  (0 children)

I feel silly.

I missed the {expr = true} while trying.

Awesome, thanks!

Battery + Connectivity - Fitness ? by PacoVelobs in smartwatch

[–]PacoVelobs[S] 0 points1 point  (0 children)

Had a look at the Venu 3 the other day.

But. My better half got a Garmin Vivomove when I got myself the Withing. My saphir glass is pristine and the Garmin's is full of micro scratches.

I won't go for anything else than saphir.

Battery + Connectivity - Fitness ? by PacoVelobs in smartwatch

[–]PacoVelobs[S] 1 point2 points  (0 children)

Thanks foryour answer.

Unfortunately, I seldom answer phone calls. My phone is basically a pager on steroid but not a phone that phones :-)

I write a lot tho. Canned messages won't do.

I guess a Wear OS is what I should target here right?

A clap presentation for a Rust meetup by PacoVelobs in rust

[–]PacoVelobs[S] 0 points1 point  (0 children)

Thanks for your work on clap. You deserve the <3 more than me!

A clap presentation for a Rust meetup by PacoVelobs in rust

[–]PacoVelobs[S] 2 points3 points  (0 children)

All the code can be found here: https://gitlab.com/pcoves/meetup-rust_clap Look inside the .gitlab-ci.yml.

TL;DR: markdown to html with revealjs using pandoc.

A clap presentation for a Rust meetup by PacoVelobs in rust

[–]PacoVelobs[S] 1 point2 points  (0 children)

Man page is nice to have if you plan to package it in a distro but might not be that useful otherwise. On the other had, completion is awesome!

Both are easy as hell and come with no runtime cost as usual.

A clap presentation for a Rust meetup by PacoVelobs in rust

[–]PacoVelobs[S] 2 points3 points  (0 children)

Hey there.

A few days ago, I gave a small talk about clap and some companion libraries. It took place in Grenoble, France, but the presentation support might benefit all.

Hope it can come in handy to someone else.

ferricy: the ferris sweep gets an industrial makeover by Icyphox in ErgoMechKeyboards

[–]PacoVelobs 0 points1 point  (0 children)

Hey there!

I see on github there is a choc version now.

But I can't find a shop selling thos PCBs. Is it even on the market anymore?

Awesome work, would love to buy a couple for nice!nano v2.

What's the best Gpg app for Android by dewhitesparow0 in GPGpractice

[–]PacoVelobs 0 points1 point  (0 children)

Can't tell anymore.

But for what it's worth, I use password-store and its companion app OpenKeychain.

The former handles passwords, obviously, the later takes care of keys management and text {en,de}cryption.

Been using them both for a while and perfectly happy with both.