skerit, to random
@skerit@elevenways.be avatar

Yikes, I thought I lost hours of work but it was just git-stashed under the totally wrong description. 🥵

amoroso, to random
@amoroso@fosstodon.org avatar

I know, Git is a mess. But, since we're stuck with it, we may as well try to learn how it works with resources like this, which aims to lead to some form of Git enlightenment.

https://think-like-a-git.net

#git #VersionControl

root42, to random
@root42@chaos.social avatar

Is there a way to resolve cherrypick conflicts purely on the command line, without using a merge tool by saying „use theirs“? Or „keep upper“?

civodul, to random
@civodul@toot.aquilenet.fr avatar

Finn Landweber wrote a pretty cool variant of the ‘guix git authenticate’ method:
https://codeberg.org/flandweber/git-verify

Highlights: Haskell instead of Scheme, JSON instead of sexps, SSH instead of OpenPGP, additional features such as per-file authorizations and unsigned merge commits.

👍

#Git

kernellogger, to linux
@kernellogger@fosstodon.org avatar

A question for experts on bisecting the :

Assume someone runs into a regression when updating from 6.1.90[1] to 6.6.30 that needs bisecting. What do you suggest:

  • Check manually which mainline release (e.g. 6.2, 6.3, ...) introduced the problem and afterwards bisect between that and the previous release.

  • Bisect straight between 6.1 and 6.6.30.

1/ I guess I would definitely go for…

[1] let's assume that 6.1 was fine for this scenario to keep things simpler

Crell, to programming
@Crell@phpc.social avatar
salcode,
@salcode@phpc.social avatar

@Crell I’m a fan of setting

git config --global pull.ff only

and continuing to use
git pull

Then if I hit the situation from the video where there are new commit(s) on the remote, stops the merge and displays a message. At that point I can decide how to handle it.

Long version at https://salferrarello.com/git-warning-pulling-without-specifying-how-to-reconcile-divergent-branches-is-discouraged/

tom, to Logseq German
@tom@swiss.social avatar

Dear #logseq and #obsodian users,
#git is not a backup system. Store your notes in a reposotory, if you must, but please configure a backup for your notes.

pawelgrzybek, to random
@pawelgrzybek@mastodon.social avatar

After using lazygit for a few days, I am completely sold. It makes working with git really enjoyable!

https://github.com/jesseduffield/lazygit

leanpub, to devops
@leanpub@mastodon.social avatar

Learn Git, Bash, and Terraform the Hard Way https://leanpub.com/b/learngitbashandterraformthehardway by Ian Miell is the featured bundle on the Leanpub homepage! https://leanpub.com #DevOps #SoftwareEngineering #ComputerProgramming #Git #Software #CloudComputing

leanpub, to random
@leanpub@mastodon.social avatar

Git Prodigy: Mastering Version Control with Git and GitHub https://leanpub.com/git-prodigy by Ebenezer Don is the featured book on the Leanpub homepage! https://leanpub.com #Git #ComputerProgramming #VersionControl

finestructure, to random
@finestructure@mastodon.social avatar

Folks who squash their #git merges, I’m curious why you are making that trade-off. I’m guessing the pro argument is a cleaner merge graph?

The big argument against it for me is that you lose granularity for git bisect. I've often been able to narrow down breakage (sometimes long past the merge) due to individual commits in the merge. If I'd merged in a giant blob all I'd have had to go by is that giant blob. (1/2)

Ric, to opensource
@Ric@awscommunity.social avatar

I've just published my starters guide to : https://gitlab.com/ric_harvey/git-guide it's free and licensed under the @creativecommons

robrich, to random
@robrich@hachyderm.io avatar

When you are gonna #merge two #git branches after a long time

brianb, to random
@brianb@fosstodon.org avatar

#Git question:

I have a branch that says it's up to date with the upstream (fork of a repo). I'm trying to contribute a patch, but my commit history in the PR has 26 commits from things that have already been merged rather than my changes from the current head.

Is there an acceptable way to clean up that history so my PR is clean?

notsle, to random
@notsle@kzoo.to avatar

Manager: Lets teach a non-developer office worker how to push code to git. "It's just clicking a few buttons. I've done it before. It's not that hard."

Me: :excuse_me:

nurkiewicz, to random
@nurkiewicz@fosstodon.org avatar

I run this #git command several times a day to keep my branch up-to-date with main:

git checkout $(git_main_branch) && \
git pull && \
git checkout - && \
git rebase -

6d03, to fediverse
@6d03@mathstodon.xyz avatar

federate decentralised repos through the .

twipped, to random
@twipped@twipped.social avatar

Ya love to see it.

opdavies, to random
@opdavies@mastodon.social avatar
civodul, to random
@civodul@toot.aquilenet.fr avatar

“Authenticate your checkouts!”
https://guix.gnu.org/en/blog/2024/authenticate-your-git-checkouts/

Yup! Time to consider doing it!

frankel, to random
@frankel@mastodon.top avatar
andrewfeeney, to random
@andrewfeeney@phpc.social avatar

Is there way to make git add -p include new files?

nicosomb, to random French
@nicosomb@piaille.fr avatar

J'avais un bug à retrouver dans potentiellement 8 mois de développement sur #PrestaShop.

Et donc, #LundiConfession, c'est la première fois que j'utilisais git bisect.
Je connaissais, mais jamais eu réellement besoin de l'utiliser. Si tu veux savoir ce que c'est, tu peux lire ça : https://delicious-insights.com/fr/articles-et-tutos/git-bisect/

#git #tip

hko, (edited ) to rust
@hko@fosstodon.org avatar

Meet oct-git, a new signing and verification tool for use with the distributed version control system:

https://crates.io/crates/openpgp-card-tool-git 🦀

oct-git focuses exclusively on ergonomic use with OpenPGP card-based signing keys

It is designed to be easy to set up, standalone (no long running processes), and entirely hands-off to use (no repeated PIN entry required, by default). It comes with desktop notifications for touch confirmation (if required)

dvzrv,
@dvzrv@chaos.social avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • tsrsr
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • Youngstown
  • InstantRegret
  • slotface
  • khanakhh
  • rosin
  • ngwrru68w68
  • kavyap
  • PowerRangers
  • normalnudes
  • tacticalgear
  • cubers
  • everett
  • vwfavf
  • ethstaker
  • osvaldo12
  • Durango
  • mdbf
  • cisconetworking
  • modclub
  • GTA5RPClips
  • tester
  • anitta
  • All magazines