Giter Site home page Giter Site logo

commiter's Introduction

Commiter

Commit on any date you desire

image

Generate a personal access token on GitHub and copy it. (need public repo access.)

Usage

To start the script clone the project

git clone [email protected]:mawsyh/commiter.git

execute the following command in your terminal:

node commiter.js

You will be prompted to enter your GitHub credentials and desired date range: GitHub username GitHub access token Repository name (make sure the repository already exists on your GitHub account) Start date (in YYYY-MM-DD format) End date (in YYYY-MM-DD format)

Inspired by antfu's 1990-script

Explanations

This project works on the way git records commit. Whenever you commit something, git puts an Unix Timestamp on it to record when you committed it. An Unix Timestamp is the way computers store the current time. An Unix timestamp is a 32-bit number which stores the number of seconds that has passed from January 1st, 1970 at UTC, the Unix Epoch.

How to get access token

Select the repository you want to commit on image

Only Contents access is needed here image

Copy the created access token image

commiter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.