# Way to exclude personal notes on my work computer using Git?

**URL:** <https://org-roam.discourse.group/t/way-to-exclude-personal-notes-on-my-work-computer-using-git/2209>\
**Category:** How To\
**Created:** [November 11, 2021, 2:23pm UTC](https://org-roam.discourse.group/t/way-to-exclude-personal-notes-on-my-work-computer-using-git/2209 "2021-11-11T14:23:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lex](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@lex](https://org-roam.discourse.group/u/lex)\
**Post date:** [November 11, 2021, 2:23pm UTC](https://org-roam.discourse.group/t/way-to-exclude-personal-notes-on-my-work-computer-using-git/2209/1 "2021-11-11T14:23:51Z")

</div>

Dear Org-Roam discourse,

I have a large repository of Org-Roam notes version controlled using git and hosted remotely on github.

My issue is that I want to clone only a subset of my notes onto my work laptop (some notes are personal / not relevant or appropriate for work context). How would I do this? Is there a way through git to exclude certain files from a local repository?

I am also happy using alternative tools to git, although ideally would be a git based solution.

Many thanks,

Lex

---

<div class="post-metadata">

**Author:** ![nobiot](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/nobiot/32/159_2.png) [@nobiot](https://org-roam.discourse.group/u/nobiot)\
**Post date:** [November 11, 2021, 4:16pm UTC](https://org-roam.discourse.group/t/way-to-exclude-personal-notes-on-my-work-computer-using-git/2209/2 "2021-11-11T16:16:00Z")

</div>

Not sure how Git would go, but I have sub folders personal and work, symlinked to different folders. Then I use different Cloud sync services, so only personal sub folder gets synced with my home laptop.

---

<div class="post-metadata">

**Author:** ![lex](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@lex](https://org-roam.discourse.group/u/lex)\
**Post date:** [November 11, 2021, 4:57pm UTC](https://org-roam.discourse.group/t/way-to-exclude-personal-notes-on-my-work-computer-using-git/2209/3 "2021-11-11T16:57:36Z")

</div>

![IMG_20211111_164838](https://global.discourse-cdn.com/free1/uploads/orgroam/original/2X/8/80613300e5cbe4278fb942b6c7e79e475c04617e.jpeg)

This solution could work tbh, and notes are created in personal or work depending on whether I’m using work computer or a personal computer, and putting it into the different folders respectively.

Thinking about it a bit longer, I think dividing it in terms of “work/personal” is not quite accurate. I think I’ll do what you do, but with the repos “general” and “personal” and put like 90% of my notes into general, with the minority of stuff that is personal into its own little silo invisible from my work device.

Thanks so much
