sushantssn / java-practice

0 stars 0 forks source link

Initial Git commit steps #5

Open sushantssn opened 2 years ago

sushantssn commented 2 years ago

How to add a new repository to remote git repository 1) got to the folder and do git init. 2) git add . 3) git commit -m "Initial Commit" 4) git branch -M 'main' 5)git remote add origin eg->https://github.com/sushantssn/springcloudconfigserver.git 6) git push -u origin 'main'