Giter Site home page Giter Site logo

dotfm's Introduction

Alt Text

Whats is Dotfm?

Dotfm is a simple config file manager, which uses git as it's backend to manage and track dotfiles.

Installation

Download binary

Using cURL

$ curl -L  https://git.io/JfQTV -o dotfm

Using wget

$ wget -O dotfm https://git.io/JfQTV

Note: Make sure to add this binary to your $PATH otherwise you won't be able to access it globally.

Build from source

Note: Make sure you have go installed.

  • Clone this repository
  • cd into the downloaded repository and run go build.

Usage

Initialize

$ dotfm init

This will initialize the dotfm repository in $HOME/.dotfm

Clone

Download an existing dotfm repository or use dotfm to track a non dotfm repository.

$ dotfm clone <url>

Track

This adds a file to the dotfm tracker.

$ dotfm track /path/to/file

List

Lists tracked files.

$ dotfm list

Status

Shows the status of the repository.

$ dotfm status

Stage

Stage files to be commited.

$ dotfm add <filename>

Commit

Commit your changes.

$ dotfm commit

This will open your get editor.

Remote

Add

Add a new Remote.

$ dotfm remote add <remote name> <url>

Remove

Remove an existing Remote.

$ dotfm remote remove <remote name>

List

List remotes.

$ dotfm remote list

Push

Push local changes to remote repository.

$ dotfm push <remote name> <branch>

Example:

$ dotfm push origin master

Sync

Sync local repository with remote.

$ dotfm sync <remote name> <branch>

Example:

$ dotfm sync origin master

Environments

Environments are nothing but git branches but they can be very powerful. You can create different environments for different machines and use them accordingly.

Create an Environment

$ dotfm env create <env name>

List Environments

$ dotfm env list

Switch to an Environment

$ dotfm env switch <env name>

Delete an Environment

$ dotfm env delete <env name>

dotfm's People

Contributors

thetinygoat avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.