Skip to content

Instantly share code, notes, and snippets.

@pks9862728888
Created July 21, 2024 06:34
Show Gist options
  • Select an option

  • Save pks9862728888/b4e2d80485de008b7b328190ac3649e2 to your computer and use it in GitHub Desktop.

Select an option

Save pks9862728888/b4e2d80485de008b7b328190ac3649e2 to your computer and use it in GitHub Desktop.
Commands to add local repo to remote
echo "# spring-data-mongodbdemo" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:pks9862728888/spring-data-mongodbdemo.git
git push -u origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment