xxxxxxxxxx
git remote add origin
https://github.com/masd11/FinraDeck.git (github adresi)
• git push -u origin master
run the commands given below
xxxxxxxxxx
git init
git add .
git commit -m "my first commit"
git remote set-url origin <Your-Repository-Link>
git push
xxxxxxxxxx
echo "# 50Day---50Html-Css-JS-page" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <your rep Link>
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/Javlon002/asiance_data_mobile.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/niniade/schoolstuffs-test.git
git branch -M main
git push -u origin main
xxxxxxxxxx
#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
xxxxxxxxxx
git remote add origin https://github.com/ihechikara/git-and-github-tutorial.git
git branch -M main
git push -u origin main
xxxxxxxxxx
git remote add origin https://github.com/NdagiStanley/new-repository.git
git branch -M `main`
git push -u origin `main`
xxxxxxxxxx
// to create new repo on github through git bash cli
git remote add origin https://github.com/nitinKumarAwasthi/<Nome Repository>.git
git branch -M main
git push -u origin main
xxxxxxxxxx
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.