Skip to main content

jj-clean

I have just started using jj and want to start using it on top of my currentn git repos, inclusing some that I collaborate on others with. One of the things I notices is that when I run tig --all, jj completely blows up my repo. This is because jj puts a git refs on absolutely everything so that git won't garbage collect it. Which includes working copy commits that I am never going to go back and look at, but jj needs to keep them around so that the undo system can work (at least I think that's why).

So, this script is my hack to clean out all of these refs from the .git/refs directory so that they don't show up in a normal git tree viewer. There may be a more native way to do this, but like I said, I just started using jj...

This script should probably not be used by anyone other than me right now, it does not allow for any configuration.

Metadata

Release files for jj-clean 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jj-clean 0.0.1
File Size Uploaded
jj_clean-0.0.1.tar.gz 11.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jj-clean 0.0.1
File Interpreter ABI Platform
jj_clean-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.7 kB

Release files / jj_clean-0.0.1.tar.gz

Download URL jj_clean-0.0.1.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
26cb899b258c57d9885bbf5c3eacb60458c5ef9092ef05f6923a26abab1d5c1f
BLAKE2b-256 checksum
How to use checksums
5568c02a9dc0e53af33264e28879794770e5afab0612432f3691d209b102481f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.11

Release files / jj_clean-0.0.1-py3-none-any.whl

Download URL jj_clean-0.0.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33215fcad0b0d85c2d8669976893ab022f0667dad935274ea54c0fcfa273dbd1
BLAKE2b-256 checksum
How to use checksums
9566680ca12b6e13605c23b96f97acbac759f29197dd5995bf73d2ab301dd631
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.11

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page