Detached State (Deprecated)
This Page is Deprecated
This page describes a functionality that no longer exists in the State Tool.
It only applies if you are using a State Tool of version 0.28 or earlier.
What is a Detached state?
A “detached state” is where the user has split from the project they were
working on and are now making commits to their project anonymously, much like
git’s detached state.
This effectively means that any changes made to the project are not saved to
your project, allowing you to experiment.
How do I exit a Detached state?
Create a new project from your changes
- You can visit the URL displayed in the tool or in you activestate.yaml and
convert your headless commit state into a project by:
- Copying the URL into your browser
- Click on “Convert my Runtime”
- Create a free ActiveState account (or login to your existing one)
- Copy the command into the prompt
state pull --set-project <owner/newprojectname>
- Run the command on your local terminal
Bring your changes back into your project
- If you already have an account and just forgot to login, you can integrate
your project into an existing project
- Re-authenticate yourself using
state push <owner/existingprojectname> where you want to propagate your