New! The Potato Stock Exchange is open. Get in early! New! Try the new dashboard!

#pull

Pull

Bot staff only

Pulls the latest commit from github for the specified service. Defaults to bot service. Use --nobuild to skip compilation and --norestart to skip restarting the service. Use --force to pull or reset even if local changes exist.

Usage

#pull <service>

<angle brackets> are required [square brackets] are optional flags change what it does

Arguments

  • service Optional Text

    The service to pull (defaults to bot)

  • commit Optional Text

    The commit hash to reset to (reset only)

Flags 4

  • -norestart Switch Bot developers only

    Pulls the latest commit and rebuilds without restarting the service.

    #pull --norestart
  • -nobuild Switch Bot developers only

    Pulls the latest commit without rebuilding the service.

    #pull --nobuild
  • -force -hard-f Switch Bot developers only

    Forces a pull or rebase even if local changes exist.

    #pull --force
  • commit: Text Bot developers only

    Rebases the service to the specified commit.

    #pull commit:<commit>

Examples 4

Pull the latest bot commit without rebuilding

VaporizingCrab:#pull --nobuild
PotatBotat:3 files changed, (+45,-12)

Service not found in config

EvolvingChad28:#pull unknownservice
PotatBotat:⚠️ Service unknownservice not found in config. Available services: bot, api