by BehindJava

How to create a private GitHub repository

Home » microservices » How to create a private GitHub repository

In this tutorial we are going to learn about creating a private GitHub repository to store the Spring cloud config server application.

Firstly, go to GitHub and create an account if you don’t have a one and once you login and go to the right-side corner and click on the plus shown in the below image and you’ll find options select new repository.

title

Provide a name to your repository and make it as private and click on create repository as shown below.

title

Once you create a new repository copy the URL and clone it in your local workspace where your spring boot application is present as shown in the below images.

title

cldee@DESKTOP-DR9500E MINGW64 /e/workspace
$ git clone https://github.com/Deepak607398/behindjavalabs.git
Cloning into 'behindjavalabs'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.