-
-
Save gordonturibamwe/8184840bcc3400334cf5638d23259301 to your computer and use it in GitHub Desktop.
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | |
| # dependencies | |
| /node_modules | |
| /.pnp | |
| .pnp.js | |
| # testing | |
| /coverage | |
| # next.js | |
| /.next/ | |
| /out/ | |
| # production | |
| /build | |
| # misc | |
| .DS_Store | |
| *.pem | |
| # debug | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| .pnpm-debug.log* | |
| # local env files | |
| .env*.local | |
| # vercel | |
| .vercel | |
| # typescript | |
| *.tsbuildinfo | |
| next-env.d.ts |
First, remove all files from your Git repository using: git rm -r *
After that you should commit: using git commit -m "your comment"
After that you push using: git push (that's update the origin repository)
To verify your status using: git status
After that you can copy all your local files in the local Git folder, and you add them to the Git repository using: git add -A
You commit (git commit -m "your comment" and you push (git push)
git push origin -D origin/main
git push origin --delete origin/main
git push origin -D origin/main
git push origin --delete origin/main
git push origin main
git remote add origin https://github.com/zoficash/zoficash-staking-front-end.git
git remote set-url origin https://github.com/zoficash/zoficash-staking-front-end.git
git remote -v
git push origin staging
Make changes in . gitignore file.
Run git rm -r --cached . command.
Run git add . command.
git commit -m "Commit message" or just git commit or continue working.