Error missing commit in git

Asked

Viewed 100 times

0

I made a mistake typing a command into git:

**git commit -m startup*

I got that message, but I don’t know what it means.

C:\Users\alex.jose.silva\Documents\demo2 (master -> origin)
λ git commit -m inicialcommit
[master (root-commit) 25dd6f5] inicialcommit
 20 files changed, 970 insertions(+)
 create mode 100644 demo/.gitignore
 create mode 100644 demo/.mvn/wrapper/maven-wrapper.jar
 create mode 100644 demo/.mvn/wrapper/maven-wrapper.properties
 create mode 100644 demo/bin/.gitignore
 create mode 100644 demo/bin/.mvn/wrapper/maven-wrapper.jar
 create mode 100644 demo/bin/.mvn/wrapper/maven-wrapper.properties
 create mode 100644 demo/bin/mvnw
 create mode 100644 demo/bin/mvnw.cmd
 create mode 100644 demo/bin/pom.xml
 create mode 100644 demo/bin/src/main/java/com/developer/demo/DemoApplication.class
 create mode 100644 demo/bin/src/main/resources/application.properties
 create mode 100644 demo/bin/src/test/java/com/developer/demo/DemoApplicationTests.class
 create mode 100644 demo/mvnw
 create mode 100644 demo/mvnw.cmd
 create mode 100644 demo/pom.xml
 create mode 100644 demo/src/main/java/com/developer/demo/DemoApplication.java
 create mode 100644 demo/src/main/resources/application.properties
 create mode 100644 demo/src/main/resources/static/index.html
 create mode 100644 demo/src/main/resources/templates/tela.html
 create mode 100644 demo/src/test/java/com/developer/demo/DemoApplicationTests.java
  • It seems that you comitou...

  • the files are integrated ??

2 answers

2

What happened was that you generated a commit with the "startup" message to your commit tree. This message only shows how many files have been modified, how many insertions, how many deletions and which files have been committed.

0

The commit actually happened! In this case, there were 20 modified files and more than 970 inserts. Now just give one git push to send modifications to the server.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.