Skip to main content

How to push your project to remote repositery | how to send file in server

😂 Below the command, you follow and push your code into repositery.

-----------------------------------------------------------------------------------------------

 1.git clone -b <branch name> URL of repository
2.cd Inside the current file
3.git branch
4.git status
5.git add --a
6.clear
7.git commit -m "V1.0"
8.git push


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince

$ git clone -b vitalz-assist-service https://Techno-Identity@dev.azure.com/Techno-Identity/Project%20Agasthya/_git/vitalz-assist-service

Cloning into 'vitalz-assist-service'...

remote: Azure Repos

remote: Found 107 objects to send. (16 ms)

Receiving objects: 100% (107/107), 72.30 KiB | 2.68 MiB/s, done.

Resolving deltas: 100% (1/1), done.


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince

$ cd vitalz-assist-service


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git status

On branch vitalz-assist-service

Your branch is up to date with 'origin/vitalz-assist-service'.


Untracked files:

  (use "git add <file>..." to include in what will be committed)

        azure-pipelines.yml


nothing added to commit but untracked files present (use "git add" to track)


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git add --a


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git status

On branch vitalz-assist-service

Your branch is up to date with 'origin/vitalz-assist-service'.


Changes to be committed:

  (use "git restore --staged <file>..." to unstage)

        new file:   azure-pipelines.yml



Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git commit -m "v"

[vitalz-assist-service df04d3e] v

 1 file changed, 24 insertions(+)

 create mode 100644 azure-pipelines.yml


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git push

Enumerating objects: 4, done.

Counting objects: 100% (4/4), done.

Delta compression using up to 4 threads

Compressing objects: 100% (3/3), done.

Writing objects: 100% (3/3), 664 bytes | 664.00 KiB/s, done.

Total 3 (delta 0), reused 2 (delta 0), pack-reused 0

remote: Analyzing objects... (3/3) (8 ms)

remote: Storing packfile... done (38 ms)

remote: Storing index... done (30 ms)

To https://dev.azure.com/Techno-Identity/Project%20Agasthya/_git/vitalz-assist-service

   d506a39..df04d3e  vitalz-assist-service -> vitalz-assist-service


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git status

On branch vitalz-assist-service

Your branch is up to date with 'origin/vitalz-assist-service'.


Untracked files:

  (use "git add <file>..." to include in what will be committed)

        agastya-service/


nothing added to commit but untracked files present (use "git add" to track)


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git add --a


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git status

On branch vitalz-assist-service

Your branch is up to date with 'origin/vitalz-assist-service'.


Changes to be committed:

  (use "git restore --staged <file>..." to unstage)

        new file:   agastya-service/.gitignore

        new file:   agastya-service/build.gradle

        new file:   agastya-service/gradle/wrapper/gradle-wrapper.jar

        new file:   agastya-service/gradle/wrapper/gradle-wrapper.properties

        new file:   agastya-service/gradlew

        new file:   agastya-service/gradlew.bat

        new file:   agastya-service/settings.gradle

        new file:   agastya-service/src/main/java/com/technoidentity/agastya/AgastyaServiceApplication.java

        new file:   agastya-service/src/main/java/com/technoidentity/agastya/controller/TelemetryEventController.java

        new file:   agastya-service/src/main/java/com/technoidentity/agastya/model/TelemetryEvent.java

        new file:   agastya-service/src/main/java/com/technoidentity/agastya/repositery/TelemetryEventRepository.java

        new file:   agastya-service/src/main/resources/application-dev.yml

        new file:   agastya-service/src/main/resources/application-local.yml

        new file:   agastya-service/src/main/resources/application-prod.yml

        new file:   agastya-service/src/main/resources/application.yml

        new file:   agastya-service/src/test/java/com/technoidentity/agastya/AgastyaServiceApplicationTests.java



Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git commit -m "v1.0"

[vitalz-assist-service 9a1adb7] v1.0

 16 files changed, 659 insertions(+)

 create mode 100644 agastya-service/.gitignore

 create mode 100644 agastya-service/build.gradle

 create mode 100644 agastya-service/gradle/wrapper/gradle-wrapper.jar

 create mode 100644 agastya-service/gradle/wrapper/gradle-wrapper.properties

 create mode 100644 agastya-service/gradlew

 create mode 100644 agastya-service/gradlew.bat

 create mode 100644 agastya-service/settings.gradle

 create mode 100644 agastya-service/src/main/java/com/technoidentity/agastya/AgastyaServiceApplication.java

 create mode 100644 agastya-service/src/main/java/com/technoidentity/agastya/controller/TelemetryEventController.java

 create mode 100644 agastya-service/src/main/java/com/technoidentity/agastya/model/TelemetryEvent.java

 create mode 100644 agastya-service/src/main/java/com/technoidentity/agastya/repositery/TelemetryEventRepository.java

 create mode 100644 agastya-service/src/main/resources/application-dev.yml

 create mode 100644 agastya-service/src/main/resources/application-local.yml

 create mode 100644 agastya-service/src/main/resources/application-prod.yml

 create mode 100644 agastya-service/src/main/resources/application.yml

 create mode 100644 agastya-service/src/test/java/com/technoidentity/agastya/AgastyaServiceApplicationTests.java


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$ git push

Enumerating objects: 35, done.

Counting objects: 100% (35/35), done.

Delta compression using up to 4 threads

Compressing objects: 100% (24/24), done.

Writing objects: 100% (34/34), 60.71 KiB | 5.06 MiB/s, done.

Total 34 (delta 0), reused 32 (delta 0), pack-reused 0

remote: Analyzing objects... (34/34) (24 ms)

remote: Storing packfile... done (31 ms)

remote: Storing index... done (23 ms)

To https://dev.azure.com/Techno-Identity/Project%20Agasthya/_git/vitalz-assist-service

   df04d3e..9a1adb7  vitalz-assist-service -> vitalz-assist-service


Dell@DESKTOP-Q0VP55V MINGW64 /p/prince/vitalz-assist-service (vitalz-assist-service)

$


Comments

Popular posts from this blog

Generate Documentation for Spring Boot API with swagger and Open API 3

 ðŸ˜‚ How to Generate Documentation for Spring Boot API project Make sure your Project having a swagger or open API 3 Dependency then only you get proper Documentation for your Service. ---------------------------------------------------------------------------- Every method or API above you have to Write Like that then only you get proper Documentation If you do everything in your Application and Run your Application and go to browse and search. . http://localhost:8080/v3/api-docs/ if you want to learn more go with this one.  Open API-3   1. For Return List of Object then you have to use this API operation  @Operation(summary = "This will fetch List of Patient Detailas base on Hospital Name") @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Successfully fetch All Patient Details from Database ", content = {  @Content(mediaType = "application/json" ,array = @ArraySchema(schema =@Schema(implementation =PatientDe...

#FibonacciNumberSeries Write a program of Fibonacci Number Series|| Fib...

Fibonacci Number Series ============================================ 0 1 1 2 3 5 8 13............. a=0; b=1; i=2; printf(a,b); while(i<=n){ c=a+b; printf(c); a=b; b=c; i++; } =========================================================================== import java.util.Scanner; class Fibonacci { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int a=0,b=1,c; System.out.print(a+" "+b); for(int i=2;i

In a new programming language how can store multiple types of data in a single variable OR is it possible how can store multiple types of data in a single variable in programming langauge

In a new programming language how can store multiple types of data in a single variable  OR is it possible how can store multiple types of data in a single variable in a programming language Here In a new programming language how can store multiple types of  data in a single variable   help you make the new  concepts, you are learning a programming  Languages really very important: Ideally Yes. If you create an Array of objects. Then it's possible to store any data type with it as an object is the base class. ArrayList can hold multiple types of data, but array doesn't. Variables Variables can be thought of as ‘containers’ for data. Each variable has to  have a unique name, so that you can refer back to it in the program. By using variables, we can refer to values that have not yet been defined.  For example, we can refer to the speed of the ball in different parts of the  game code, but calculate the ball speed later based on different input...