What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-11 12:30:02
spring application properties mysql jpa
spring.datasource.url=jdbc:mysql://localhost:yourDatabase?serverTimezone=UTC //set username and password as environment variables under application configuration so that the real ones won't be pushed to github, only their aliases: USERNAME and PASSWORD in... Add solution -
Shell/Bash 2022-03-02 15:20:25
initialize a repo and push to github
git init git add . git commit -m "First commit" git remote add origin <remote repository URL> git remote -v git branch -M main git push -u origin main 1- # Create a new repository on GitHub. To avoid errors, do not initialize the new repo... Add solution -
Shell/Bash 2021-10-28 20:19:08
how to send your code to github
git init git add . git commit -m "First commit" git remote add origin <remote repository URL> git remote -v git branch -M main git push -u origin main 1- # Create a new repository on GitHub. To avoid errors, do not initialize the new repo... Add solution -
Shell/Bash 2021-10-28 18:07:14
add folder to github command line
# 1) Create a new repository on GitHub. # To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. # 2) Open Terminal. # 3) Change the current w... Add solution