Back

Upload first time project on Git

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

git remote add origin https://wasiimakram@bitbucket.org/wasiimakram/project_name.git 1) Create git repositary on github/bitbucket Open your local project and make following commands 2) git init 3) git add . 4) git commit -m "First Commit" 5) git remote add origin https://wasiimakram@bitbucket.org/wasiimakram/proname.git 6) If first time upload and you face any error , then run this command git push -f origin master (or your branch name) ==== LINK ===== https://docs.github.com/en/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line