Project

simple-scm

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Provides the `sss` command to perform SCM (git/hg/svn) commands in all projects in a directory.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

SSS

The simple-scm gem provides the sss (Simple SCM Service) command to iterate over your Git, Mercurial, and Subversion projects to pull the latest changes, show you their status, and more.

Installation

SSS is simple to install using RubyGems.

gem install simple-scm

SSS iterates over the directories in ~/workspace/ for your checked-out projects. You can change this with the SSS_WORKSPACE environment variable, like so for Bash:

export SSS_WORKSPACE=~/projects/

Usage

sss COMMAND

Commands

  • pull, up, update Update to the latest changes
  • status, st Check the status for any uncommitted changes
  • push (git, hg) Push all committed changes to central repo
  • out, outgoing (git, hg) Show outgoing changes, not pushed to central repo
  • in, incoming (git, hg) Show incoming changes, not updated
  • wtf (git) Compare local to tracked remote branch

For git, the out, in, and wtf commands require the git-wtf plugin

Problems? Suggestions?

Please file a ticket if you have any trouble. Also feel free to fork and submit a pull request with any changes you find useful.

I've used versions of this script for years to keep my many projects up-to-date, but I'm open to suggestions to make this even more useful.