Rather than blindly uploading a commit every day for as long as a script runs, for a given GitHub account I may want to instead “fill in the blanks” of a GitHub contribution chart by only having it upload commits on given dates where there weren't any commits.
Expected solution
- Ask for given user input: option to always upload commits (default) or upload only to prefill past selected dates.
- (If 2nd option is chosen —) ask for given user input: type a number in which only the past
n days will be checked for commits.
- In the list of dates where there were zero commits found on a GitHub profile, upload a commit using the command
git commit and parameter --date yyyy-mm-ddThh:mm:ss.
- Check GitHub profile again.
- The contribution chart in the given date range should be all green!
Rather than blindly uploading a commit every day for as long as a script runs, for a given GitHub account I may want to instead “fill in the blanks” of a GitHub contribution chart by only having it upload commits on given dates where there weren't any commits.
Expected solution
ndays will be checked for commits.git commitand parameter--date yyyy-mm-ddThh:mm:ss.