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

How to Send OTP in Mobile Number | login with OTP mobile Number | How to send OTP in mobile no with Spring Boot APP

   ðŸ˜‚               Login with Mobile Number OTP ---------------------------------------------------------------------------- If you want to develop a project to log in with OTP mobile Number in Spring Boot Applications then this post for you. In this post, I am going to use some other service to send the OTP in mobile number. we have to use it in this project spring boot. we are going to use Twilio to send SMS. we are going to use a web socket to send the data from the browser to the SMS gateway. Oracle Database for store the user details. org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-thymeleaf 2.3.3.RELEASE com.twilio.sdk twilio 7.1.0 org.springframework.boot spring-boot-starter-websocket org.springframework.boot spring-boot-devtools runtime true package com.app; impo...

How can we create Auto generated field or ID for mongodb using spring boot

😂 How can we create an Auto-generated field or ID for MongoDB using spring boot? First Create One Application Like Mongodb_sequence-id-generator Pom.XML org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-data-mongodb de.flapdoodle.embed de.flapdoodle.embed.mongo User.java package com.app; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Transient; import org.springframework.data.mongodb.core.mapping.Document; @Document(collection = "users_db") public class User { @Transient public static final String SEQUENCE_NAME = "users_sequence"; @Id private long id; private String firstName; private String lastName; private String email; public User() { } public User(String firstName, String lastName, String email) { this.firstName = firstName; this.lastName = la...

Send Email with Spring Boot API | Spring Boot API send email

              😂How to Send Email with Spring Boot API In this post, we are going to implement a project like send an email to the given email Id with Spring Boot we can do this. In this project, users have to send emails and we have to send the email for forgetting the password. Send Email with Spring Boot API 1.pom.xml   Add this despondency . org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-devtools runtime true org.projectlombok lombok true org.springframework.boot spring-boot-starter-test test org.springframework.boot spring-boot-starter-mail 2.application.properties file Add this one server.port=8023 spring.mail.host=smtp.gmail.com spring.mail.port=587 spring.mail.username=technoidentity.vitalz@gmail.com spring.mail.password=technoidentity12345 # Other proper...