npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

git2git

v1.0.3

Published

![Git2Git Logo](https://firebasestorage.googleapis.com/v0/b/dr-soft-gufdou.appspot.com/o/G2G%20logo.png?alt=media&token=ef3c9d82-b8d1-4d01-b61b-a81377961487)

Downloads

9

Readme

GIT2GIT

Git2Git Logo

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

npm install git2git

Features

  • Push single or multiple projects on any git version control system like github, gitlab and your local bitbucket server.
  • Transfer changes made in a project on a different version control system to a different version control system like from bitbucket server to gitlab.

Quick Start

$ npm install -g git2git
  • To use git2git you need to keep your projects into two separate folders and make sure all both folders have same projects but pointing to different git version control systems.
  • You will be making changes in a project in one of the two folders and using git2git you can transfer those changes to the same project in the other directory that is pointing to another git version control system and push them online.

After Installing git2git go to your terminal and set the paths for the two directories that will be having your projects with the command bellow

 git2git config -l <localpath> -o <online path>
  • The local path is where you keep the version of the project that you will be making changes to and the online path is the path where you keep the version of the project where you will like to send those changes to you can also push projects found in the local path to their origin.

After doing that you should be able to use git2git

Example

  • Lets say i have a project none as Testing and i have this project in my online path with the same name Testing
  • And i happened to make some changes in the Testing on my local path because remember that is where we make our changes.
  • So how do i send this changes to the same project found in the Online Directory that is pointing to a different version control system.
  • Push local Changes to local remote first using the bellow command
git2git pushlocal Testing:branch:'commit message'

You can specify more than one project you just need to give space and keep adding the next and the next to push all local projects updates online with one command you need to use the bellow command.

git2git pushlocal all 'Commit message for all the projects'
git2git push Testing:branch:'Commit Message'

The first thing is the projects name and the second is the branch that you made the changes too and the third is the commit message and you can also add another project just be giving space and entering the details of the next project.

For more commands on how to use git2git

  • After installing git2git you can type the bellow command in your terminal to know more on how to use git2git.
git2git help