Skip to content
Workflow·Pro

Back up the open project to Git

Commits every change in the last project you opened as "Backup from PocketCode" and pushes it to its remote. Add a schedule in Workflows to run it daily. It stays quiet when there's nothing new and warns you if the push fails. Arrives switched off.

You need PocketCode Pro to install it.

If PocketCode is installed on your Android device, this opens the page in the app.

Preview

Triggers

MANUAL

Steps

Read what changed
Anything to back up?
  Commit the changes
  Push to the remote
  Did the push work?
    Confirm the backup
    Warn that the push failed

Changes in 1.0.0

First version.

Related

Commit and push with an AI messageProWorkflowWrites a commit message from your changed files and an optional note, then commits everything in the open project and pushes it. The AI sees file names, not your code. The push uses the Git account you connected in PocketCode. Arrives switched off.Remind me about uncommitted changesProWorkflowChecks the last project you opened and, if some files aren't committed, shows a notification with how many and on which branch. Add a schedule in Workflows, say every evening. Nothing leaves the phone. Arrives switched off.Find old branches when a project opensProWorkflowWhen you open a project, it lists the local branches with no commits in 30 days or more, so you can merge or delete them. It skips main, master, develop and trunk. Needs git in the Linux environment (apk add git). Arrives switched off.Check each commit for private and large filesProWorkflowAfter each commit from the Git screen, it warns you if the commit includes .env files, private keys or files over 5 MB, so you can take them out before you push. Needs git in the Linux environment (apk add git). Arrives switched off.Run the tests when a project opensProWorkflowEach time you open a project, it picks the test runner (npm, cargo, go or pytest), runs the tests and notifies you only if they fail, with the last lines of output. Needs those tools in the Linux environment. Arrives switched off.Explain shared text with AIProWorkflowShare an error, a log or some code from any app to PocketCode. Your AI provider explains it, you get the answer as a notification, and it's appended to notes/shared-explained.md in the open project. Arrives switched off.