AS you see the commit is done to the new repo address...but the push is going to another address of existing repo ?
This happing with the last repo 2 days ago till now .
momy@momy:~/IdeaProjects/flutterapp$ git commit -m "version 1.0" [master 9568edf] version 1.0 1 file changed, 6 insertions(+), 6 deletions(-) momy@momy:~/IdeaProjects/flutterapp$ git remote add origin https://github.com/beautybird/Flutter-App-structure.git error: remote origin already exists. momy@momy:~/IdeaProjects/flutterapp$ git push -u origin master Username for 'https://github.com': beautybird Password for 'https://[email protected]': To https://github.com/beautybird/Full-Flutter-app-Parrallex-GoRouter-Supabase.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'https://github.com/beautybird/Full-Flutter-app- Parrallex-GoRouter-Supabase.git' hint: Updates were rejected because the remote contains work that you do not hint: have locally. This is usually caused by another repository pushing to hint: the same ref. If you want to integrate the remote changes, use hint: 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. momy@momy:~/IdeaProjects/flutterapp$ The terminal Is opened on the intended remote project.
Why is that ?
error: remote origin already exists.