Git Push Current Project to Master
git init
git add .
git commit -m 'First commit'
git remote add origin <remote repository URL>
git push origin master
Stockholm
git init
git add .
git commit -m 'First commit'
git remote add origin <remote repository URL>
git push origin master
#How to push a repo to an existing
git init
git add .
git config --global user.email "<your-github-email>" && git config --global user.name "<your-githb-username>"
git commit -m "<>"
git remote add origin <repohttps>
git remote -v //to confirm
git branch main master -f && git checkout main //'do this if gits default branch is master'
git push origin main -f
git remote add origin <remote repository URL>
git remote add origin
https://github.com/asd/FinraDeck.git (github adresi)
• git push -u origin master
git remote add origin remote repository URL
git remote -v
git push -f origin master
echo "# redux-basic" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <link>
git push -u origin main