prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git pull ^M
fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git pull
fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git pull git@git.coding.net:prince70/GraduationProject.git
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git.coding.net:prince70/GraduationProject
* branch HEAD -> FETCH_HEAD
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ ls
pom.xml README.md src/ target/
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git add .
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in pom.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main/java/com/didispace/Application.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main/java/com/didispace/Swagger2.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main/java/com/didispace/domain/User.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main/java/com/didispace/web/HelloController.java.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in src/main/java/com/didispace/web/UserController.java.
The file will have its original line endings in your working directory.
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git status
On branch master
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
new file: .classpath
new file: .gitignore
new file: .project
new file: .settings/org.eclipse.core.resources.prefs
new file: .settings/org.eclipse.jdt.core.prefs
new file: .settings/org.eclipse.m2e.core.prefs
new file: pom.xml
new file: src/lib/commons-fileupload.jar
new file: src/lib/commons-io.jar
new file: src/lib/gson-2.2.4.jar
new file: src/lib/mysql-connector-java-5.1.40.jar
new file: src/main/java/com/didispace/Application.java
new file: src/main/java/com/didispace/Swagger2.java
new file: src/main/java/com/didispace/domain/BloodPressureData.java
new file: src/main/java/com/didispace/domain/Doctor.java
new file: src/main/java/com/didispace/domain/Profile.java
new file: src/main/java/com/didispace/domain/User.java
new file: src/main/java/com/didispace/util/DbUtils.java
new file: src/main/java/com/didispace/util/FileUpload.java
new file: src/main/java/com/didispace/web/AlertProfile.java
new file: src/main/java/com/didispace/web/CheckBloodPressure.java
new file: src/main/java/com/didispace/web/FileUploadController.java
new file: src/main/java/com/didispace/web/HelloController.java
new file: src/main/java/com/didispace/web/RegisterAndLogin.java
new file: src/main/java/com/didispace/web/Synchronous.java
new file: src/main/java/com/didispace/web/UserController.java
new file: src/main/resources/application.properties
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git commit -m"init"
[master 2b43051] init
27 files changed, 1132 insertions(+)
create mode 100644 .classpath
create mode 100644 .gitignore
create mode 100644 .project
create mode 100644 .settings/org.eclipse.core.resources.prefs
create mode 100644 .settings/org.eclipse.jdt.core.prefs
create mode 100644 .settings/org.eclipse.m2e.core.prefs
create mode 100644 pom.xml
create mode 100644 src/lib/commons-fileupload.jar
create mode 100644 src/lib/commons-io.jar
create mode 100644 src/lib/gson-2.2.4.jar
create mode 100644 src/lib/mysql-connector-java-5.1.40.jar
create mode 100644 src/main/java/com/didispace/Application.java
create mode 100644 src/main/java/com/didispace/Swagger2.java
create mode 100644 src/main/java/com/didispace/domain/BloodPressureData.java
create mode 100644 src/main/java/com/didispace/domain/Doctor.java
create mode 100644 src/main/java/com/didispace/domain/Profile.java
create mode 100644 src/main/java/com/didispace/domain/User.java
create mode 100644 src/main/java/com/didispace/util/DbUtils.java
create mode 100644 src/main/java/com/didispace/util/FileUpload.java
create mode 100644 src/main/java/com/didispace/web/AlertProfile.java
create mode 100644 src/main/java/com/didispace/web/CheckBloodPressure.java
create mode 100644 src/main/java/com/didispace/web/FileUploadController.java
create mode 100644 src/main/java/com/didispace/web/HelloController.java
create mode 100644 src/main/java/com/didispace/web/RegisterAndLogin.java
create mode 100644 src/main/java/com/didispace/web/Synchronous.java
create mode 100644 src/main/java/com/didispace/web/UserController.java
create mode 100644 src/main/resources/application.properties
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git push git@git.coding.net:prince70/GraduationProject.git
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
git push --set-upstream git@git.coding.net:prince70/GraduationProject.git master
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git push --set-upstream git@git.coding.net:prince70/GraduationProject.git master
Counting objects: 40, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (36/36), done.
Writing objects: 100% (40/40), 1.19 MiB | 0 bytes/s, done.
Total 40 (delta 2), reused 0 (delta 0)
To git.coding.net:prince70/GraduationProject.git
79fb395..2b43051 master -> master
Branch master set up to track remote branch master from git@git.coding.net:prince70/GraduationProject.git.
prince70@DESKTOP-PH3VBJ7 MINGW64 /g/MyEclipse/SpringBootWithSwagger (master)
$ git add .
$ git commit -m"更新的信息"
$ git push +地址
转载于:https://www.cnblogs.com/princenwj/p/7640704.html