Push code to a new GitHub repo
How to push your local code to a new GitHub repo:
- Create a repo on GitHub.
- Follow GitHub instructions.
OR do below commands:
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 *
git commit -m "first commit"
git push -u origin main