vcs-scripts is a set of scripts to ease working with various version control systems.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



What is it?

A set of VCS (version control system) scripts to supplement the functionality
of the existing systems.

svn-null and git-null clear the working directory (or in Mercurial parlance,
updates it to the null revision).

This may be useful if you keep up-to-date with many (possibly large)
repositories and don't want to have thousands of files on disk while you're not
actively working on the project.

svn-clean removes unversioned and ignored files from the working copy.


Simply put the scripts somewhere on your PATH. Then run as follows:

$ cd ~/src/git-repo
$ git-null

If git is run with an unknown command, it searches for that command in your PATH
so, running:
$ git null
will run git-null if it is in your PATH.

$ cd ~/src/svn-repo

Clean the repo of all unversioned and ignored files:
$ svn-clean -f

Clear the repo of all files:
$ svn-null


Fork it on GitHub, hack away and then send a pull request.


This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later

Please see the file called COPYING for more details.

Latest Version

Details of the latest version can be found on the git-null project page at