Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

62 lines (40 sloc) 1.47 kB
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.
Jump to Line
Something went wrong with that request. Please try again.