# .gitignore -\> .stignore

**URL:** https://forum.syncthing.net/t/gitignore-stignore/5746
**Category:** General
**Created:** [September 23, 2015, 10:30am UTC](https://forum.syncthing.net/t/gitignore-stignore/5746 "2015-09-23T10:30:05Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![rumpelsepp](https://forum.syncthing.net/user_avatar/forum.syncthing.net/rumpelsepp/32/2006_2.png) [@rumpelsepp](https://forum.syncthing.net/u/rumpelsepp)
#### Post date: [September 23, 2015, 10:33am UTC](https://forum.syncthing.net/t/gitignore-stignore/5746/3 "2015-09-23T10:33:01Z")

</div>

You shouldn’t sync git repos with syncthing:

> [@Is putting a Git workspace in a synced folder really a good idea?](https://forum.syncthing.net/t/is-putting-a-git-workspace-in-a-synced-folder-really-a-good-idea/1774/9):
>
> You can, and it’ll sync just fine, but you shouldn’t. A Git repository is not like a collection of documents. In a collection of documents, each file is mostly independent so it’s easy to “merge” when one file has changed on one device and another file on another device. A Git repository on the other hand is made up of a bunch of files that should be internally consistent with each other. “Merging” two Git repositories that have diverged cannot be done by just copying in the newest files from …

Most likely it will corrupt your repos some times…

edit: Maybe I am just offtopic here… Sry.

---

_[View the full topic](https://forum.syncthing.net/t/gitignore-stignore/5746)._
