GitHub spoof tutorial ("Play bad" with your own github)

Source: Internet
Author: User

Recently in Bole Online read an interesting article, "How to make a contribution" in GitHub "right", inside a variety of capable spoof Github "public contributions", the following intercept several small partners of the record:

The clues, found that someone has already made "play bad" Github tools, called Gitfiti. The main corresponding to the pre-defined template, the corresponding date of the commit operation, push to Github after the creation of the corresponding pixel in the contribution bar, and the use of Github to contribute a different color depth of the mechanism, you can see in their own contribution column pixel painting. How, is not the heart, then let us start the "Play Bad" tour:

1. First you have to download the plugin locally, a friend with Git experience can directly clone this repo

git clone [email protected]:gelstudios/gitfiti.git

or click the download link on the Github page to download the entire project to a local

2. Download and create a new repo on your Github, name yourself, do not create license and readme (prevent conflicts when push is behind).

3. After downloading to the local run gitfiti.py in the command line, the display welcome interface, at this time the first interactive information does not fill in what content, directly enter can.

4. Then enter your Github user name and the newly created repo name.

5. Then choose where to start the drawing, enter a number that represents the week from the start of the contribution column (from the left), and if you do not enter a direct return here, the default is from the leftmost.

6. Next, you will be reminded of the maximum number of contributions in a day compared to the contribution you have made, and then let you choose the maximum contribution of the pixel points generated by this drawing (Github's pixel block color mechanism is the darker the color of the day that the contribution is greater). It is recommended that you use your maximum contribution directly here, otherwise your previous contribution will all turn green.

Entering Gitfiti here means using your own maximum number of contributions.

7. You can then select a drawing template, where you can use a custom template or a template that the developer has already set up.

To use a custom template, enter the file path of the template on the previous line, and the method for customizing the template can be found in the description page of the project. If you use a template created by the developer, go directly to the previous line, then select the template below and enter the desired template name (the template name corresponds to the pattern effect as well as the project description page).

8. After everything is done, the project will automatically generate a shell script gitfiti.sh, and then run the script to automatically commit and push to your new repo, waiting for a period of time, you will be able to see in your own contribution column interesting pixel painting.

Note: You may encounter two problems here:

    • The generated shell script does not have permission to run. Press that to run chmod 777 gitfiti.sh.

    • Push is not successful, generally because there are already files in the new repo, and the push creates a conflict. You can open gitfiti.sh, modify the last line
      // change to the following line // If there is a conflict forced merge

9. Bask in your own victories (this "spoof" generated 4w+ 's contribution O (╯-╰) o), and welcome to my Github to see.

10. Finally, if you want to cancel this effect, directly delete the created repo, the contribution bar and the number of contributions will return to normal.

I wish you all a good time!

GitHub spoof tutorial ("Play bad" with your own github)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.