Skip to content

Instantly share code, notes, and snippets.

@jamesparsloe
jamesparsloe / autogit.py
Created January 10, 2025 10:30
Silly little script I use to sync my Obsidian notes to GitHub with a descriptive commit message
"""
Commit with a message generated by Claude and push.
"""
import argparse
import os
import subprocess
import anthropic