Skip to main content

For managing that one annoying remote file you can't put under version control

Project description

=================================================================
fuggit: for when you just can't put that one annoying file in git
=================================================================

You know the feeling. You're making a quick dirty hack to a file on a
remote machine that. The file isn't under version control. You want to
have the convenience of editing the file locally, *and* you want the
ability to roll back your changes. Putting the remote file under version
control is just too hard, so what do you say? fuggit.

Specifcally::

fuggit add remote.hostname/etc/file.name

this will grab /etc/file.name from the machine remote.hostname; save it
as remote.hostname/etc/file.name under $PWD. The file will be added and
committed to git.

::

fuggit pull remote.hostname/etc/file.name

can be used to refresh your local copy of the file. Any local changes
will be preserved; any remote changes will result in a new commit.

::

fuggit vimdiff remote.hostname/etc/file.name

will open a vimdiff window showing your local copy of the file and the
remote copy. Thanks to the magic of vim, any changes you make to the
remote file will be pushed to the servce once you close the file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fuggit-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page