Skip to content

suhailskhan/mkrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

mkrepo

A Zim module that provides the mkrepo command to create a folder, automatically initialize a Git repository inside it, and optionally create a GitHub remote.

Installation

Add mkrepo to your .zimrc:

zmodule suhailskhan/mkrepo

Then run:

zimfw install

Usage

mkrepo [--github | --github-public] [--dir <directory>] <folder_name>

Options

  • --github: Create a private GitHub repository
  • --github-public: Create a public GitHub repository
  • --dir <directory>: Specify base directory (default: ~/Developer)

Examples

# Create a local repo in ~/Developer/my-project
mkrepo my-project

# Create with a private GitHub repo
mkrepo --github my-project

# Create with a public GitHub repo  
mkrepo --github-public my-project

# Create in a custom directory
mkrepo --dir ~/Projects my-project

Requirements

  • Git must be installed
  • For GitHub integration: GitHub CLI must be installed and authenticated

About

Zim module for quickly creating Git repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages