Skip to content

chandlerroth/current-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prj

I get it. Its not easy to manage all of the repos you're working on. Now you can with this simple CLI tool to manage and organize your git projects in a consistent directory structure.

You're a pro. Get pro level repo management with prj.

Installation

go install github.com/chandlerroth/current-projects/cmd/prj@latest

Quick Start

  1. Initialize your projects directory:
prj init

This creates a ~/Projects directory and a .current-projects file.

  1. Add new repos (with auto cloning):
prj add git@github.com:username/repo.git
  1. Check git status of all projects:
prj status

Available Commands

  • prj init - Initialize the projects directory and configuration
  • prj add [repo] - Add a repository to projects and install it
  • prj install - Install/clone all projects from .current-projects file
  • prj status - Show git status for all tracked projects

Status Indicators

When running prj status, you'll see various indicators:

  • [↓] - Number of commits behind remote
  • [↑] - Number of commits ahead of remote
  • [N changes] - Number of modified files
  • [✓ clean] - Repository is clean with no changes

Example output:

  1 chandlerroth/current-projects    git:(main) [✓ clean]

Project Structure

Projects are organized in the following structure:

~/Projects/username/repo

The .current-projects file in your Projects directory maintains the list of repositories to track. You can sync this to a gist.

About

Manage all your repos

Resources

Stars

Watchers

Forks

Releases

No releases published