Skip to content

Instantly share code, notes, and snippets.

@RichardHightower
Created August 27, 2017 21:27
Show Gist options
  • Save RichardHightower/512e29d72bd69a7ff43289dbff0a4c2b to your computer and use it in GitHub Desktop.
Save RichardHightower/512e29d72bd69a7ff43289dbff0a4c2b to your computer and use it in GitHub Desktop.
branch, push
~/github/akka-ec2-example
$ git status
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        deleted:    userService/settings.gradle

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userModel/build.gradle
        modified:   userService/build.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

~/github/akka-ec2-example
$ gradle clean

BUILD SUCCESSFUL in 0s
3 actionable tasks: 3 executed
~/github/akka-ec2-example
$ git status
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
~/github/akka-ec2-example
$ gradle clean 

BUILD SUCCESSFUL in 0s
3 actionable tasks: 3 up-to-date
~/github/akka-ec2-example
$ git status
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        deleted:    userService/settings.gradle

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userModel/build.gradle
        modified:   userService/build.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

~/github/akka-ec2-example
$ git add userAliasService/ userService/
~/github/akka-ec2-example
$ git status
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userService/build.gradle
        deleted:    userService/settings.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   userModel/build.gradle

~/github/akka-ec2-example
$ git add userModel/build.gradle 
~/github/akka-ec2-example
$ git status 
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userModel/build.gradle
        modified:   userService/build.gradle
        deleted:    userService/settings.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

~/github/akka-ec2-example
$ git branch
  akka-http
  first-step-gradle-setup-akka-import
  master
  second-step-request-response-actor-tell-testprobe-ask-future-await
* third-step-adding-akka-remote
~/github/akka-ec2-example
$ git branch fourth-adding-gradle-application-plugin
~/github/akka-ec2-example
$ git status
On branch third-step-adding-akka-remote
Your branch is up-to-date with 'origin/third-step-adding-akka-remote'.
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userModel/build.gradle
        modified:   userService/build.gradle
        deleted:    userService/settings.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

~/github/akka-ec2-example
$ git checkout fourth-adding-gradle-application-plugin
M       userAliasService/build.gradle
M       userAliasService/src/main/resources/user-alias-application.conf
M       userAliasService/src/main/scala/com/rick/user/RunServer.scala
M       userModel/build.gradle
M       userService/build.gradle
D       userService/settings.gradle
M       userService/src/main/resources/application.conf
M       userService/src/main/scala/com/rick/user/RestServer.scala
Switched to branch 'fourth-adding-gradle-application-plugin'
~/github/akka-ec2-example
$ git status
On branch fourth-adding-gradle-application-plugin
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        modified:   userAliasService/build.gradle
        modified:   userAliasService/src/main/resources/user-alias-application.conf
        modified:   userAliasService/src/main/scala/com/rick/user/RunServer.scala
        modified:   userModel/build.gradle
        modified:   userService/build.gradle
        deleted:    userService/settings.gradle
        modified:   userService/src/main/resources/application.conf
        modified:   userService/src/main/scala/com/rick/user/RestServer.scala

~/github/akka-ec2-example
$ git commit -m "added gradle application plugin support"
[fourth-adding-gradle-application-plugin 102c042] added gradle application plugin support
 8 files changed, 41 insertions(+), 7 deletions(-)
 delete mode 100644 userService/settings.gradle
~/github/akka-ec2-example
$ git push origin fourth-adding-gradle-application-plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment