git push repo - central fitness

Sadržaj

##git config git config --global user.name "Marijan Kopčić" git config --global user.email mkopcic@gmail.com

#rename git to https git git config --global url."https://".insteadOf git://

##add files to git remote

git init // hint: git config --global init.defaultBranch git add README.md

git commit -m "first commit" git branch -M main git remote add origin https://github.com/mkopcic/central.mellon-fitness.com.git git push -u origin main

##git remove origin git remove origin git remote remove origin

##Pull and push local changes: git pull origin master From https://github.com/mkopcic/razvoj.mellon-fitness.com

#Fetch git init git remote add origin [my-repo] git fetch git checkout origin/master -ft

##Repositories:

-Razvoj https://github.com/mkopcic/razvoj.mellon-fitness.com https://github.com/mkopcic/razvoj.mellon-fitness.com.git