Step 1: remove all history
rm -rf .git
Step 2: reconstruct the Git repo with only the current content
git init
git add .
git commit -m "Initial commit"
Step 3: push to GitHub.
git remote add origin <github-uri>
git push -u --force origin master
https://stackoverflow.com/questions/9683279/make-the-current-commit-the-only-initial-commit-in-a-git-repository
Subscribe to:
Post Comments (Atom)
Restore xampp database from backup
steps: stop mysql xampp 1 - create some backup folder "data_1" 2 - from your current xampp/mysql/data folder move core folders an...
-
source: http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt I sus...
-
to fix it on localhost just use $oauth->disableSSLChecks();
-
Step 1: remove all history rm -rf .git Step 2: reconstruct the Git repo with only the current content git init git add . git commit ...
No comments:
Post a Comment