Push code to a new GitHub repository
How to push your local code to a new GitHub repo:
- Create a repo on GitHub.
- When you create a new repo you will get the below steps in your screen, with the correct repo name. (below is my repo name)
echo "# AndroidComposeAdMobSDK" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:AndreSand/AndroidComposeAdMobSDK.git
git push -u origin main
Second commit:
git add * -f
git commit -m "first…