Skip to content
Workflow·Pro

Find old branches when a project opens

When 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.

You need PocketCode Pro to install it.

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

Preview

Triggers

PROJECT_OPENED

Steps

List branches older than 30 days
Any old branches?
  List the old branches

Changes in 1.0.0

First version.

Related

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.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.Back up the open project to GitProWorkflowCommits 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.Clean dependency folders and cachesProWorkflowRun it by hand and type a project's folder name. It deletes node_modules, .gradle, __pycache__ and other caches that a reinstall or the next build recreates, then says how much space it freed. Your code and .git are not touched. 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.