DEV Community

Abhishek Keshri
Abhishek Keshri

Posted on • Updated on • Originally published at 2kabhishek.github.io

Manage your Github Projects easily

Do you have a lot of repositories on GitHub and are always making changes to them?
Do you work on multiple machines, and are struggling to keep the repositories in sync?
Have you ever moved to a new machine and spent what seems like an eternity cloning all your projects one by one?

If your answer to any of these questions was yes, well I have a solution for you.

GHPM

Introducing GHPM - GitHub Project Manager

It is a utility to fix a few problems a developer faces while managing GitHub projects.

GHPM allows you to clone all the repositories in a user's GitHub profile, saving you lots of time. All the repositories will be cloned in the current directory.

It lets you pull and push changes for all the git repositories in a directory, saving you lots of cd and git pull/push.

It also has a option to quickly change the remote repository protocol from https to ssh, so you don't have to manually use it.

You can find all the installation and usage information here.
If you have any issues or requests feel free to create an issue over on GitHub, and if you have any contributions you are always welcome.

I hope this tool helps you to manage your GitHub projects as much as it helped me.

GitHub logo 2KAbhishek / ghpm

The GitHub Project Manager πŸ‘©β€πŸ’»βš™

License People Stars Forks Watches Last Updated

The GitHub Project Manager πŸ§‘β€πŸ’»βš™οΈ

ghpm Demo
ghpm screenshot

What is this

ghpm is a utility that allows you to manage all your GitHub projects by allowing batch operations.

You can clone all of your or any other user's repos at once.

You can use it to push, pull and do any other operation on all your projects at once.

Inspiration

I have a lot of repos on my GitHub and maintaining them was becoming a pain, also this makes moving my work to a new machine really smooth.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of bash
  • Cloning self repos needs authentication and relies on gh, the GitHub cli

Getting ghpm

To install ghpm, follow these steps:

git clone https://github.com/2kabhishek/ghpm.git
cd ghpm
# Setup symlink make sure target directory is added to PATH
ln -sfnv $PWD/ghpm.sh ~/.local//bin/ghpm
Enter fullscreen mode Exit fullscreen mode
…

Top comments (0)