Skip to content

Instantly share code, notes, and snippets.

View TroyWolf's full-sized avatar

Troy Wolf TroyWolf

View GitHub Profile
@mgaitan
mgaitan / git-sw
Last active August 1, 2024 01:25
git smart switch : Like `git switch` but stashing uncommitted changes and recovering them when you are back.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Git smart switch
Like `git switch` but stashing uncommitted changes and recovering them when you are back.
# Install