DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป

DEV Community ๐Ÿ‘ฉโ€๐Ÿ’ป๐Ÿ‘จโ€๐Ÿ’ป is a community of 967,611 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Abhishek Keshri
Abhishek Keshri

Posted on

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 ๐Ÿ‘ฉโ€๐Ÿ’ปโš™

ghpm

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 ~
โ€ฆ
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

๐Ÿ‘‹ Hey, my name is Noah and Iโ€™m the one who set up this ad. My job is to get you to join DEV, so if you fancy doing me a favor, Iโ€™d love for you to create an account.

If you found DEV from searching around, here are a couple of our most popular articles on DEV: