Skip to content

Instantly share code, notes, and snippets.

@nickmccurdy
Last active January 3, 2016 15:19
Show Gist options
  • Save nickmccurdy/8482253 to your computer and use it in GitHub Desktop.
Save nickmccurdy/8482253 to your computer and use it in GitHub Desktop.
Homesick: New git interface idea

Homesick: New git interface idea

Before

18 commands:

homesick cd CASTLE              # Open a new shell in the root of the given castle
homesick clone URI              # Clone +uri+ as a castle for homesick
homesick commit CASTLE MESSAGE  # Commit the specified castle's changes
homesick destroy CASTLE         # Delete all symlinks and remove the cloned repository
homesick diff CASTLE            # Shows the git diff of uncommitted changes in a castle
homesick generate PATH          # generate a homesick-ready git repo at PATH
homesick help [COMMAND]         # Describe available commands or one specific command
homesick list                   # List cloned castles
homesick open CASTLE            # Open your default editor in the root of the given castle
homesick pull CASTLE            # Update the specified castle
homesick push CASTLE            # Push the specified castle
homesick rc CASTLE              # Run the .homesickrc for the specified castle
homesick show_path CASTLE       # Prints the path of a castle
homesick status CASTLE          # Shows the git status of a castle
homesick symlink CASTLE         # Symlinks all dotfiles from the specified castle
homesick track FILE CASTLE      # add a file to a castle
homesick unlink CASTLE          # Unsymlinks all dotfiles from the specified castle
homesick version                # Display the current version of homesick

After:

13 commands

homesick git CASTLE COMMAND     # Calls a git command in the root of the given castle
homesick cd CASTLE              # Open a new shell in the root of the given castle
homesick destroy CASTLE         # Delete all symlinks and remove the cloned repository
homesick generate PATH          # generate a homesick-ready git repo at PATH
homesick help [COMMAND]         # Describe available commands or one specific command
homesick list                   # List cloned castles
homesick open CASTLE            # Open your default editor in the root of the given castle
homesick rc CASTLE              # Run the .homesickrc for the specified castle
homesick show_path CASTLE       # Prints the path of a castle
homesick symlink CASTLE         # Symlinks all dotfiles from the specified castle
homesick track FILE CASTLE      # add a file to a castle
homesick unlink CASTLE          # Unsymlinks all dotfiles from the specified castle
homesick version                # Display the current version of homesick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment