I have some commits in git.
I'd like to commit all of them at once.
I tried following command
git push origin develop
It seems I could push only latest local commit.
Are there any way to commit all the local commit ?
$ git status
On branch event-api
Your branch is up to date with 'origin/develop'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: api/Dockerfile
modified: api/package-lock.json
modified: api/package.json
modified: api/src/user/user.controller.ts
modified: api/src/user/user.service.ts
Untracked files:
(use "git add <file>..." to include in what will be committed)
api/.env
no changes added to commit (use "git add" and/or "git commit -a")
$ git log
commit e06b782c44a0c4ffb91b64d95744323e6cb5a40e (HEAD -> event-api, origin/event-api, origin/develop, foo-event-api)
Author: hikaru
Date: Sun Sep 20 23:57:36 2020 +0900
Revert "user.entity.ts"
This reverts commit 38e3ac8a623d70ee89c41226d796fb4753cca10b.
commit 38e3ac8a623d70ee89c41226d796fb4753cca10b
Author: hikaru
Date: Sun Sep 20 22:49:39 2020 +0900
user.entity.ts
commit 11d166321a5831c01a491358d6afa1be4020bbfb
Author: hikaru
Date: Sun Sep 20 22:40:51 2020 +0900
add app.module.ts
commit 38eb630546eed370619b1f5178f949df99bbda07
Author: hikaru
Date: Sun Sep 20 22:38:12 2020 +0900
add event
commit 8dec7bc37c539f35aa03cf3188b7adb104e1a91f
Author: hikaru
Date: Sun Sep 20 22:36:37 2020 +0900
add repository
Thanks