# Workflow and environments question

**URL:** <https://discourse.julialang.org/t/workflow-and-environments-question/116551>\
**Category:** Offtopic\
**Created:** [July 2, 2024, 9:22pm UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551 "2024-07-02T21:22:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sob](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sob](https://discourse.julialang.org/u/sob)\
**Post date:** [July 2, 2024, 9:22pm UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/1 "2024-07-02T21:22:09Z")

</div>

I’m working alone on a decently sized Julia project (or at least it’s decent size for me) and find myself working on different (and unrelated) areas of the project concurrently.

I’m already using Git (for various reasons) but I’m wondering if it makes sense to have multiple repo clones (checked out in different folders of my dev machine) to separate work on different functionalities, or if there’s any other way that would be more standard and efficient?

---

<div class="post-metadata">

**Author:** ![TheCedarPrince](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thecedarprince/32/17323_2.png) [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Post date:** [July 2, 2024, 9:29pm UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/2 "2024-07-02T21:29:13Z")

</div>

I like to use Git worktree for this reason: [https://www.youtube.com/watch?v=2uEqYw-N8uE](https://www.youtube.com/watch?v=2uEqYw-N8uE)

---

<div class="post-metadata">

**Author:** ![TheCedarPrince](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thecedarprince/32/17323_2.png) [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Post date:** [July 2, 2024, 9:29pm UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/3 "2024-07-02T21:29:37Z")

</div>

I also don’t see a major problem with having multiple clones (I’ve done that before too in the past).

---

<div class="post-metadata">

**Author:** ![sob](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sob](https://discourse.julialang.org/u/sob)\
**Post date:** [July 3, 2024, 12:00am UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/4 "2024-07-03T00:00:33Z")

</div>

Thank you will look into that feature.

---

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [July 3, 2024, 12:17am UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/5 "2024-07-03T00:17:13Z")

</div>

Any reason why branches are not enough?

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [July 3, 2024, 11:08am UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551/6 "2024-07-03T11:08:49Z")

</div>

That depends on the level of concurrency. If you for whatever reason need to work actively in two different branches, it’s quite annoying to switch back and forth between them and possibly stashing or making work in progress commits frequently. It’s even more annoying if you are in a situation where you want to benefit from a REPL session with Revise but have to restart every time you switch branches.

It doesn’t happen to me often but when it does I make a temporary repo clone for development of one of the branches.
