Skip to content

Commit db50b17

Browse files
authored
feat: update context file to guide on changing resources
1 parent 3f109bc commit db50b17

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

POSTGRESQL.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ This section covers connecting to a PostgreSQL database instance.
3333

3434
# Usage Guidelines
3535

36+
## Connecting to New Resources
37+
38+
You will need to perform the following steps to change the current database connection:
39+
40+
1. **(Optional) Save your conversation:** To avoid losing your progress, save the current session by running the command: `/chat save <your-tag>`
41+
2. **Stop the CLI:** Terminate the Gemini CLI.
42+
3. **Update Environment Variables:** Set or update your environment variables (e.g. `POSTGRES_DATABASE`) to point to the new resource.
43+
4. **Restart:** Relaunch the Gemini CLI
44+
5. **(Optional) Resume conversation:** Resume your conversation with the command: `/chat resume <your-tag>`
45+
3646
## Reusing Project Values
3747

3848
Users may have set project environment variables:

0 commit comments

Comments
 (0)