b0rk, (edited ) to random
@b0rk@jvns.ca avatar
boldewyn,
@boldewyn@mastodon.social avatar

@b0rk great information, as always! Thank you for creating and sharing!

Maybe interesting in that context: some time ago I experimented with what the most minimal .git for would look like and still be recognized by : https://manuel-strehl.de/minimal_git_folder

mo8it, to foss
@mo8it@fosstodon.org avatar

I joined the Codeberg e.V. to support :blobcatheart: (only financially for now)

You can do so too and support maintaining a free (as in freedom) code collaboration platform:
https://join.codeberg.org

No more code stealing to improve a proprietary AI! needs a better home 🏠️

slashtechno, to github
@slashtechno@fosstodon.org avatar

I'm unsure if signing my #Git commits is the best idea. When my #GPG key expires, commits will show on #Github as unverified. Should I stop signing my commits? I'm aware you can renew keys. However, if you no longer have access to the key, then it can't be renewed.

If a GPG key could no longer be retrieved, all commits signed with that key would appear as unverified, from what I understand.

Perhaps #boost for more visibility? :blobcatshrug:

adamchainz, to random
@adamchainz@fosstodon.org avatar

tfw merge conflicts

Linux, to linux
@Linux@linuxrocks.online avatar

Linux 6.5 expected to land tomorrow :linux:

►VirtIO sync support for Vulkan
►Ryzen 7000 EDAC support
►USB4 v2
►WiFi 7
►AMD P-State EPP
►Intel Core hybrid CPU load balance
►Mediatek AV1 / HEVC codec support
►AMD FreeSync support enabled
►MIDI 2.0 driver support

=> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/?h=v6.5-rc7

#Linux #kernel #stable #release #Linux65 #Git #Torvalds

adamchainz, to random
@adamchainz@fosstodon.org avatar

✍️ New post covering a situation that one of my beta readers asked about.

https://adamj.eu/tech/2023/08/31/git-clear-unreachable-files/

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!

adamchainz, to django
@adamchainz@fosstodon.org avatar

📈231 book sales for $3700 this past week. Thanks all, I hope you learn some things about /.

The 50% Black Friday discount is available until the end of Monday.

kubikpixel, (edited ) to random German
@kubikpixel@chaos.social avatar

Oh Shit, !?!

📦 https://ohshitgit.com

blacklight, to random

This is such a simple and useful SQLite hack.

Get the best out of and by having your database versioned in a human-readable format:

# Create a local git repo and a db file  
$ git init  
$ sqlite3 ./test.db  
sqlite> create table test(id int primary key, value text);  
$ git add test.db  
# Set the diff format for *.db files  
$ git config diff.sqlite3.binary true  
$ git config diff.sqlite3.textconv "echo .dump | sqlite3"  
$ echo '*.db diff=sqlite3' >> .gitattributes  
# Do some stuff with the db  
$ sqlite3 ./test.db  
sqlite> insert into test values(1, 'a');  
sqlite> insert into test values(2, 'b');  
sqlite> insert into test values(3, 'c');  
sqlite> update test set text = 'aaa' where id = 1;  
sqlite> delete from test where id = 3;  
# Check the diff  
$ git diff  
diff --git a/test.db b/test.db  
index 9d6e6db..c9a7a08 100644  
--- a/test.db  
+++ b/test.db  
@@ -1,4 +1,6 @@  
 ...  
 CREATE TABLE test(id int primary key, text text);  
+INSERT INTO test VALUES(1,'aaa');  
+INSERT INTO test VALUES(2,'b');  
 COMMIT;  

https://garrit.xyz/posts/2023-11-01-tracking-sqlite-database-changes-in-git

amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

A short history of software version control over the past two decades, which covers both open source and proprietary systems.

https://deprogrammaticaipsum.com/twenty-years-is-nothing/

anderseknert, to opensource
@anderseknert@hachyderm.io avatar

A surprisingly common mistake people do when contributing to projects is to forget the (often required) sign-off on their commit, and then close the PR only to open a new one where the sign-off is included. This isn’t needed! Next time, just:

git commit --amend --signoff
git push --force

And your signoff will be added to the commit in your PR.

purpleidea, to random
@purpleidea@mastodon.social avatar

git restore --staged -p is my new favourite trick.

(It's the opposite of git add -p in case you want to pull something back, or add one file(s) and then remove the one exclusion.)

kubikpixel, (edited ) to random
@kubikpixel@chaos.social avatar

Which surfing do you use for your public ? Why did you choose @github, @gitea, , @Codeberg or a completely different one, why & which one? 🧑‍💻 :BoostOK:

(multiple selection possible)

coderbyheart, to random
@coderbyheart@chaos.social avatar

Very good reminder by Elisabeth Irgens at : learn !

vmbrasseur, to random
@vmbrasseur@social.vmbrasseur.com avatar

Who's self-hosting their repos and what are you using for that?

adamchainz, to random
@adamchainz@fosstodon.org avatar

hard truth

adamchainz, to random
@adamchainz@fosstodon.org avatar

♦️ My new book on is available in early access.

https://adamj.eu/tech/2023/06/03/boost-your-git-dx-early-access/

nekohayo, to GNOME
@nekohayo@mastodon.social avatar

Gitg, the GUI tool, would really benefit from having new contributors to help @albfan ; in particular, it needs help to port to and implement proper dark-mode friendly diff colors using the API for dark styles handling.
In case anyone is looking for an challenge to help a very useful tool for on : https://gitlab.gnome.org/GNOME/gitg/-/issues/345 and https://gitlab.gnome.org/GNOME/gitg/-/issues/97

Ganneff, to rust German

Wir suchen . Anfangs als aber sehr sehr wahrscheinlich wird das zu wachsen (oder mehrere Teilzeit, wenn das besser passt).

Ort: Voll - wir haben kein Büro mehr - aber aus vertraglichen und rechtlichen Gründen muss der Arbeitsort innerhalb von .de liegen.
Selten (derzeit einmal im Jahr) eine Fahrt in die Gegend um Frankfurt/Main einzuplanen, Firmenevent.

Nötig: Gute Kenntnisse. Und man sollte andere Sprachen (viel C, etwas Java, Bash) zumindest grob lesen können.
Es geht ums (Neu/Um)schreiben von Applikationen.
Außerdem Umgang mit / nötig - und wir sind voll basiert.

ist das Ziel, ist weniger gern gesehen..

Bei Interesse: DM an mich.

Boosts welcome.

hynek, to opensource
@hynek@mastodon.social avatar

My this year’s holiday gift to maintainers so they have something to link to, and to contributors so they don't make a painful mistake in the first place:

Don’t Start Pull Requests from Your Main Branch

https://hynek.me/articles/pull-requests-branch/

pocketvj, to linuxphones
@pocketvj@fosstodon.org avatar

#sxmo #linuxmobile news:
i fixed the wifi-sec hotspot creation bug, added a 'GSM Disable' entry and a 'Wifi Credentials' to show pw in text and qr-code of the connected wifi or hotspot.

and:

i decided to stop messing with sourcehut, #git send-email and upstream, for fuck sake, its so demotivating! to which email address? why did it not only send the last commit? where is it gone?
i prefer to use my time for features/fixes and to document them, not to messup pipelines of others....

bram85, to emacs
@bram85@emacs.ch avatar

magit-find-file allows you to open a file at a certain revision, which could be a (relative) timestamp. Notation: HEAD@{3 days ago}.

Using these bits, I wrote a small #emacs command that displays a file at a certain moment, chosen with the built-in calendar.

(defun bram85-magit-find-file-as-of (datetime)  
 (interactive (list (org-read-date)))  
 (let ((rev (format "HEAD@{%s}" datetime)))  
 (magit-find-file rev (magit-read-file-from-rev rev "File: "))))  

#magit #git

kernellogger, to random
@kernellogger@fosstodon.org avatar

v2.45.0 is out.

GitHub blog post with some highlights: https://github.blog/2024-04-29-highlights-from-git-2-45/

Announcement: https://lore.kernel.org/lkml/xmqq8r0ww0sj.fsf@gitster.g/

From the former:

'"[…] introduces preliminary support for a new reference storage backend called “reftable,” promising faster lookups, reads, and writes for repositories with any number of references. […]

Preliminary support for SHA-1 and SHA-256 interoperability

[…] git config learned a new option to help document your .gitconfig file […]"'

adamsdesk, to linux
@adamsdesk@fosstodon.org avatar

Quickly Jump From Local Git Repository to Website

Improve your git workflow with a simple shell function that can quickly jump you from the terminal of a local git repository to the project's website.

https://www.adamsdesk.com/posts/open-repository-website/

#commandline #development #git #linux #WeblogPoMo2024

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines