on master help sign in
syncing desk with working repo
d85b0d3drbeefsupreme
content/docs/development/environment.md+14
@@ -311,3 +311,17 @@ And then just commit it in the dojo:
311
311
312If you're [using dev desks](#using-dev-desks) as a base, it's best to keep those
312If you're [using dev desks](#using-dev-desks) as a base, it's best to keep those
313files separate from your own code.
313files separate from your own code.
314+
315+### Syncing repos
316+
317+A useful pattern is to work from a git repo and sync your work with the pier of
318+a fake ship. An easy way to do this is with the following command:
319+
320+```
321+watch rsync -zr --delete /working/repo/desk/* /path/to/fake/zod/mydesk
322+```
323+
324+Here `/working/repo/desk` is the folder that has the proper desk structure
325+outlined above, and `/path/to/fake/zod/mydesk` is the desk you wish to copy the
326+contents of the working repo to. From here, you can edit from the working repo
327+and perform git commands there, while testing your changes on the fake ship.