I want to push a remote folder to Github ([email protected]:myProject/Myproject.git
), I connect to my remote server vis ssh then I type in my git repo :
git add myFolder
git commit -m "add my folder"
git remote add origin [email protected]:myProject/Myproject.git
>>fatal: remote origin already exists.
git push -u -f origin master
>>Password for 'https://[email protected]':
I think I need to change maybe the remote folder from Bitbucket to github or what ?