Socket
Book a DemoInstallSign in
Socket

git-commits-migrator

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-commits-migrator

Revitalize Github activity with empty commits in new repo, using private contributions

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Git Commits Migrator

npm version npm HitCount npm

With this library, you can effortlessly copy all of your contributions to a new repository, without actually copying any code. How? By creating empty commits with the exact date and time of the original commits, and including your public account information (username and email). Imagine the thrill of seeing your Github activity tracker light up with all of your hard work, now visible for the world to see! Don't let your private contributions go to waste, make them count!

Buy Me A Coffee

Table of Contents

Prerequisites

1- Make sure to have the other account repos cloned locally

Usage

  • Don't forget to star this repo 😉

With npx

npx git-commits-migrator --source-repo private-repo --target-repo new-private-repo --source-owner USER_NAME --target-owner USER_NAME --source-email EMAIL --target-email EMAIL --target-token TOKEN

With npm

1- Install the library

  • npm
 npm install -g git-commits-migrator

or

  • yarn
 yarn global add git-commits-migrator

2- Execute command

git-commits-migrator -sr private-repo -tr new-private-repo -so USER_NAME -to USER_NAME -se EMAIL -te EMAIL -tt TOKEN

Available Options

  • source-repo: string - Name of source repository

    • alias: sr
    • required
  • target-repo: string - Name of target repository

    • alias: tr
    • required
  • source-owner: string - Username of source repository

    • alias: so
    • required
  • target-owner: string - Username of target repository

    • alias: to
    • required
  • source-email: string - Email of source repository owner

    • alias: se
    • required
  • target-email: string - Email of target repository owner

    • alias: te
    • required
  • target-token: string - Personal Access Token from target account

    • alias: tt
    • required

Keywords

git-commits-migrator

FAQs

Package last updated on 15 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.