Push code to a new GitHub repository

  1. Create a repo on GitHub.
  2. 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
git add *
git commit -m "first commit"…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store