GithubHelp home page GithubHelp logo

charpeni / sync-external-contributions Goto Github PK

View Code? Open in Web Editor NEW
31.0 4.0 3.0 43 KB

๐Ÿ“ Sync your external contributions to GitHub :octocat:

License: MIT License

JavaScript 100.00%
git github contributions contribution-graph contributions-calendar

sync-external-contributions's Introduction

Sync External Contributions npm

header

Reads all your contributions you've authored on local repositories with git-standup and create a GitHub contribution activity for every commits associated with you.

It does not copy the content of the commit, to respect NDA and privacy it only list all commits SHA you've authored and write it to a file. This is totally safe.

Why?

This script exists because some contracts, projects, or businesses aren't using GitHub as source control. I found it odd that some weeks or months were missing in my GitHub contributions activity as if I wasn't active.

Should external contributions belong there?

To be honest, I'm not sure, but since private contributions can be showed and some are using this to show work activity, why not.

Requirement

Usage

First, you'll need a git repository where the contributions will be synced.

Create it where you want it (e.g. ~/external-contributions), run git init inside and push your initial commit with an empty file named COMMITS.

Create your repository on GitHub and add it as origin, origin will be automatically synced after each runs.

To sync every commits that you've done in ~/some-project into ~/external-contributions:

npx sync-external-contributions --source ~/some-project --destination ~/external-contributions
Options

  --source string[]      Source repositories to fetch commits
  --destination string   Destination repository to sync contributions into
  --days number          Specify the number of days back to include
  --folder-depth         Specify the number of subfolders to look for repos in source
  --dry-run              Will execute script without syncing
  --force                Force push to the destination (implicit with reset)
  --reset                Reset the destination repository
  --silent               Will not prompt
  -h, --help

License

sync-external-contributions is MIT Licensed.

sync-external-contributions's People

Contributors

charpeni avatar davidbates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sync-external-contributions's Issues

sync-external-contributions: command not found

Pretty much title. Every time I try to run sync-external-contributions I get sync-external-contributions: command not found. Tried on two different machines. What am I doing wrong? I do have git-standup installed as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.