Ai Anshu | Fri Jul 09 2021 | Read Time 3 min read
GitHub is the best place for programmers, where all programmers provide there code and other programmers see the code and provide good or bad review. The problem is How To Hack GitHub Contributions whenever we have no idea to upload some codes on GitHub the GitHub leave blank our Contributions in our main profile its looks really bad that we have not contributions this days or months or sometimes years so finally i go a solution for that problem by watching some YouTube videos are waste my 30 minutes of life about searching this topic on internet and finally i got result and i am going to provide this result for you in just 5 minutes.
First Step we need to choose a programming language to do this work for us as we all are programmers we all know that our favorite programming language is PYTHON but if don't know python that don;t worry because a provide the full to code to copy and paste and run and got your results so lets write come codes.
so finally write some code and do this work so follow me and gogogo
import os ## Number of days you want to make commits for i in range(1,365*2 + 1): d = str(i) + ' day ago' ## Open a text file and modify it with open('bot.txt', 'a') as file: file.write(d) ## Add bot.txt to staging area os.system('git add bot.txt') ## Commit it os.system('git commit --date="' + d + '" -m "first commit"') ## push the commit to GitHub os.system('git push -u origin master')
OK finally we done everything its time to run the code and check .. but warning hare ** you need to python 3 to do this** so lets finally run the code or just open the terminal in the folder and type
its running ........ and know finally check your GitHub now its hack