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...
-
Here is original source that worked for me https://stackoverflow.com/questions/57128891/how-repair-corrupt-xampp-mysql-user-table (1) Fi...
-
jquery focusout does not works in chrome and safari for checkbox and radio elements. example: <input type='checkbox' name=...
-
source from https://magento.stackexchange.com/questions/251926/magento-2-3-its-not-working-properly-in-localhost https://github.com/magen...
No comments:
Post a Comment