Skip to content

Instantly share code, notes, and snippets.

@kerkenit
Last active November 7, 2019 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerkenit/f1569aa9cb16f08f260b0564995ebf52 to your computer and use it in GitHub Desktop.
Save kerkenit/f1569aa9cb16f08f260b0564995ebf52 to your computer and use it in GitHub Desktop.
Add 150 times the last 250 files to GitHub
#!/bin/bash
for n in {1..150}; do tac .gitignore | sed "1,250d" | tac | tee .gitignore2 && mv .gitignore2 .gitignore && git add --all && git commit -m "Old checkin" && git push ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment