Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
vcs-scripts is a set of scripts to ease working with various version control systems.
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
COPYING
README
git-null
svn-clean
svn-null

README

vcs-scripts
===========

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.

Usage
-----

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

Contributing
------------

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

Licensing
---------

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
version.

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
https://github.com/rosslagerwall/vcs-scripts.
Something went wrong with that request. Please try again.