mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#git

51 Beiträge47 Beteiligte2 Beiträge heute

Enjoying Git 2.51.0's ability to export and import stashes. This is not only amazing in terms of working with stashes across multiple machines but great for saving/sharing stashes (like for cloning purposes).

In the attached example, I'm using my handle, `bkuhlmann`, to identify my stash (this stores all of my stashes even though I'm only demoing a single stash).

Definitely folding this into my workflow.

#Git 2.51 is out:

github.blog/open-source/git/hi

lore.kernel.org/all/xmqqikikk1

A few quotes from the former URL:

Cruft-free multi-pack indexes […] Using this at GitHub has allowed us to write significantly smaller MIDXs, in a fraction of the time, and resulting in faster repository read performance overall.

Smaller packs with path walk […] As a result, Git can generate packs using the path walk approach that are often significantly smaller

[…] Git 2.51 introduces a variant of the internal stash representation that allows multiple stash entries to be represented as a sequence of commits. […]

[…] git switch and git restore […] are no longer considered experimental […]

[…] git whatchanged […] is now marked as deprecated with eventual plans to remove it in Git 3.0. […]

Speaking of Git 3.0, this release saw a few more entries added to the BreakingChanges list (github.com/git/git/blob/v2.51. ). […]

[…] this release saw an update to Git’s guidelines on submitting patches, which have historically required contributions to be non-anonymous, and submitted under a contributor’s legal name. Git now aligns more closely with the Linux kernel’s approach, to permit submitting patches with an identity other than the contributor’s legal name. […]

The GitHub Blog · Highlights from Git 2.51The open source Git project just released Git 2.51. Here is GitHub’s look at some of the most interesting features and changes introduced since last time.

Helpful #git tip of the day 📢 🤓

If you want to find a particular string (via regex) over all of your commits (be it added, moved or deleted) you can pass the -G option to `git log`.

Example:

git log -G"[Tt]he [Nn]eedle"

Go with -i for case-insensitive match (thank you @nafmo for pointing it out)

⚠️ Warning: There is a similar option with `git log -S --pickaxe-regex`, but it _won't_ show _moved_ lines, only added/deleted lines!

Docs:
git-scm.com/docs/git-log#Docum

git-scm.comGit - git-log Documentation

Still trying to a find a nice way to snapshot from @hedgedoc to `git`.

I saw this issue github.com/hedgedoc/hedgedoc/i
and discussion community.hedgedoc.org/t/githu

Maybe the easiest would be script `hedgedoc cli` github.com/hedgedoc/cli
to dump all notes into a git repo at a regular interval.

Just wondering if someone did something already or even better?

I'd like to store my markdown documents in a true git backend for the following reasons: Auditing Standard revision tooling Possibility to integrate a lightweight PR document approval process
GitHubAdd git export / import connector · Issue #222 · hedgedoc/hedgedocVon blaggacao
#opensource#git#hedgedoc