public-contributions / HACK

Draw in your Public Contributions chart on GitHub
https://github.com/public-contributions
MIT License
104 stars 13 forks source link

how to edit .sh files #4

Open marioegghead2 opened 3 years ago

marioegghead2 commented 3 years ago

!/bin/sh

while read date do fileName=echo "$date" | tr " " "_" date="$date 14:00 2013 +0500" echo "Creating file... $fileName" touch "$fileName" git add "$fileName" git commit --date="$date" --author="public-contributions" -m "$fileName" done <dates.txt