I want to push a remote folder to Github (git@github.com: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 git@github.com:myProject/Myproject.git
>>fatal: remote origin already exists.
git push -u -f origin master
>>Password for 'https://anotheruser@bitbucket.org':
I think I need to change maybe the remote folder from Bitbucket to github or what ?