for testing purposes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
647B

  1. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyyyyy
  2. zzzzzzzzzz
  3. ssss
  4. git checkout --orphan newBranch
  5. git add -A # Add all files and commit them
  6. git commit -m 'stackof solution2'
  7. git branch -D master # Deletes the master branch
  8. git branch -m master # Rename the current branch to master
  9. git push -f origin master # Force push master branch to github
  10. git gc --aggressive --prune=all # remove the old files
  11. /
  12. git ls-files --others --exclude-standard > /tmp/test2.txt
  13. mv .git/config /tmp/
  14. rm -rf .git
  15. git init
  16. git add .
  17. mv /tmp/config .git/
  18. cat /tmp/test2.txt | xargs -0 git rm --cached
  19. git commit -m "Initial commit"
  20. git push -u --force origin master