+
Skip to content

rsvinicius/dotme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotme

A command-line tool to apply dotfiles from a Git repository to your current working directory.

🚀 Overview

dotme is a simple utility that helps you quickly set up your development environment by applying dotfiles from a Git repository. It only copies files and folders that start with a dot (.) from the root of the specified repository into your current directory.

✨ Features

  • Apply dotfiles from any Git repository with a single command
  • Only copies files and folders that start with a dot (.) at the repository root
  • Recursively copies contents of dotfiles folders
  • Cross-platform (Linux, macOS, Windows)
  • Clear terminal output with information about what was copied and ignored
  • Automatically cleans up temporary files after execution

📋 Installation

From Binary Releases

Download the latest binary for your platform from the Releases page.

From Source

# Clone the repository
git clone https://github.com/rsvinicius/dotme.git

# Change to the project directory
cd dotme

# Build the binary
go build -o dotme

# Install the binary to your PATH (optional)
go install

🔧 Usage

# Apply dotfiles from a Git repository
dotme https://github.com/your-username/dotfiles

Example

# Apply dotfiles from a repository
dotme https://github.com/your-username/dotfiles

This will:

  1. Clone the repository to a temporary directory
  2. Copy only files and folders that start with a dot (.) from the root of the repository to your current directory
  3. Show what was copied and what was ignored
  4. Clean up the temporary directory

⚙️ How It Works

dotme performs the following steps:

  1. Clones the specified Git repository to a temporary directory
  2. Scans the root of the cloned repository for files and folders that start with a dot (.)
  3. Copies those files/folders to your current working directory
    • For folders, it recursively copies all contents (regardless of whether the inner files start with a dot)
  4. Displays a summary of what was copied and what was ignored
  5. Cleans up the temporary directory

🤝 Contributing

Contributions are welcome! Please check out our Contributing Guidelines for details.

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

📦 Versioning

We use Semantic Versioning. For the versions available, see the tags on this repository.

About

A command-line tool to apply dotfiles from a Git repository to your current working directory

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载