Skip to content

Commit 5641265

Browse files
committed
chore: review tweaks
1 parent 99dba53 commit 5641265

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/concepts/floxhub-environments.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ title: "FloxHub environments"
33
description: "Reusable environments that are centrally managed on FloxHub"
44
---
55

6+
A FloxHub environment allows you to centrally manage a Flox environment, tracking changes made to it and allowing the environment to be reused in multiple contexts.
7+
8+
## Background
9+
610
When you create an environment for your project, you often do so via the [`flox init`][flox-init] command, which creates a `.flox` directory that you can check into source control.
711

812
```{ .sh .copy}
@@ -101,7 +105,7 @@ Use 'flox push|pull -r myuser/myenv' to fetch updates or update the environment
101105
To stop using this environment, type 'exit'
102106
```
103107

104-
The `flox activate` command succeeds, but the message indicates that you need to run either a `flox pull` or `flox push` command (`flox push` in this case since you have local changes):
108+
The `flox activate` command succeeds, but the message indicates that you need to run either a `flox pull` or `flox push` command (`flox push` in this case since you have local changes) to synchronize the two copies:
105109

106110
```text
107111
Use 'flox push|pull -r myuser/myenv' to fetch updates or update the environment on FloxHub.
@@ -147,6 +151,6 @@ Add the `--upstream` flag to see the packages in the upstream copy of the FloxHu
147151

148152
Activating a FloxHub environment is done via the [`flox activate -r`][flox-activate] command.
149153
This will activate the current state of the local copy of the FloxHub environment, which may not be up to date with the upstream copy.
150-
To activate the environment as it exists upstream, run `flox pull -r <owner>/<name>` before running `flox activate`.
154+
To activate the environment as it exists upstream, run `flox pull -r <owner>/<name>` before running `flox activate -r`.
151155

152156
[flox-activate]: ../man/flox-activate.md

0 commit comments

Comments
 (0)