{"id":3353,"date":"2013-12-17T15:15:39","date_gmt":"2013-12-17T23:15:39","guid":{"rendered":"http:\/\/bittorrent.gyre.wpengine.com\/?p=3353"},"modified":"2022-10-04T15:47:25","modified_gmt":"2022-10-04T22:47:25","slug":"sync-hacks-how-to-use-git-with-bittorrent-sync","status":"publish","type":"post","link":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync","title":{"rendered":"Sync Hacks: How to Use Git with BitTorrent Sync"},"content":{"rendered":"<p><em>Sync Hacks is a column dedicated to exploring new applications for Sync, as built by users like you. <a href=\"http:\/\/bittorrent.com\/sync\" target=\"_blank\" rel=\"noopener\">BitTorrent Sync<\/a> is a free, unlimited, secure file-syncing app. (And now, it&#8217;s <a title=\"Introducing BitTorrent Sync 1.2\" href=\"http:\/\/bittorrent.gyre.wpengine.com\/2013\/11\/05\/introducing-bittorrent-sync-1-2\/\" target=\"_blank\" rel=\"noopener\">2X faster<\/a>.) If you&#8217;ve got an epic Sync idea, use-case or how-to, shoot us an email at sync[at]bittorrent.com.<\/em><\/p>\n<p>[wide]<br \/>\n<a href=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2013\/12\/gitsync.png\" data-rel=\"lightbox-gallery-YWPxgIHj\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3668\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2013\/12\/gitsync.png\" alt=\"gitsync\" width=\"1000\" height=\"356\" \/><\/a><br \/>\n[\/wide]<\/p>\n<p><strong>In this week&#8217;s Sync Hacks: Josef Betancourt shows us how to use Git with BitTorrent Sync.<\/strong> Josef turned to BitTorrent Sync because Sync gives you the benefits of having a remote Git server without using a remote server &#8211; maintaining multiple copies all on your own machines. Now, he wants to show you how to get started. Read on for the whole tutorial (adapted from his original post <a href=\"http:\/\/octodecillion.com\/blog\/using-git-with-bittorrent-sync\/\" target=\"_blank\" rel=\"noopener\">here<\/a>).<\/p>\n<p><!--more--><br \/>\n<em>From Josef:<\/em><\/p>\n<p>In this post, you&#8217;ll find simple instructions for using Git with BitTorrent Sync on Windows. I took the easy way out and \u201cforked&amp;#8221 a very well written blog post by Sergei Shvetsov that did the same thing, only using <a href=\"http:\/\/blog.shvetsov.com\/2013\/04\/using-git-with-dropbox.html\">Dropbox<\/a>.<\/p>\n<p>While cloud-based solutions provide a good way to backup or remote a Git repository for \u2018single developer\u2019 situations, the main advantages of BitTorrent Sync is that it&#8217;s free and no \u2018server\u2019 is required. Described briefly: <a href=\"http:\/\/www.bittorrent.com\/sync\">BitTorrent Sync<\/a> is a server-less folder syncing system. Instead of using a remote server storage system, it creates a fast private peer-to-peer file sync system using a P2P protocol. (Note: it is not necessarily a replacement for a server or your backup system, but it is a welcome addition as it covers some limitations of those services, such as file size limits, and issues with speed and privacy.)<\/p>\n<h3>Overview<\/h3>\n<p>What we&#8217;ll do:<br \/>\n1. Create a local repo<br \/>\n2. Create a \u201cbare\u201d repo that lives in the Synced folders<br \/>\n3. Add the bare repo as the origin of the local repo.<\/p>\n<p>Once complete, the synced folder that contains the bare repo is available on another system as if it was created locally. During development, the synced folder does not constantly transfer data over the network to other synced locations because we primarily use the working repo and rarely use the \u2018bare&amp;#8217.<\/p>\n<p>The picture below shows two systems with the two Git repos:<br \/>\n<a href=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-17-at-1.49.02-PM.png\" data-rel=\"lightbox-gallery-YWPxgIHj\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3356\" src=\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2013\/12\/Screen-Shot-2013-12-17-at-1.49.02-PM-1024x540.png\" alt=\"Screen Shot 2013-12-17 at 1.49.02 PM\" width=\"1024\" height=\"540\" \/><\/a><\/p>\n<h3>Steps<\/h3>\n<p>Below is a walkthrough of this process using a Windows cmd shell.<\/p>\n<p><em>Create a local repository<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1,4,7]; title: ; notranslate\" title=\"\">C:tempgit-on-BTSync&gt;git init new-project\r\nInitialized empty Git repository in C:\/temp\/git-on-BTSync\/new-project\/.git\/\r\nC:tempgit-on-BTSync&gt;cd new-project\r\nC:tempgit-on-BTSyncnew-project&gt;echo \"\" &gt; README.txt\r\n\r\ngit add .\r\nC:tempgit-on-BTSyncnew-project&gt;git commit -m \"Initial Commit\"\r\n[master (root-commit) dcb3f2b] Initial Commit\r\n   1 file changed, 1 insertion(+)\r\n   create mode 100644 README.txt<\/pre>\n<p><em>Create a new \u2018bare\u2019 repo inside of local BitTorrent Sync folder<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1,2]; title: ; notranslate\" title=\"\">new-project&gt;mkdir C:UsersjbetancourtBTSyncgit\r\nC:new-project&gt;git init --bare C:UsersjbetancourtBTSyncgitnew-project.git\r\nInitialized empty Git repository in C:\/Users\/jbetancourt\/BTSync\/git\/new-project.git\/<\/pre>\n<p><em>Add this new bare repo as upstream remote to the local repo<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">new-project&gt;git remote add dropbox C:UsersjbetancourtBTSyncgitnew-project.git<\/pre>\n<p><em>Push local changes to the bare repo<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">C:tempgit-on-BTSyncnew-project&gt;git push -u dropbox master\r\nCounting objects: 3, done.\r\nWriting objects: 100% (3\/3), 223 bytes | 0 bytes\/s, done.\r\nTotal 3 (delta 0), reused 0 (delta 0)\r\nTo C:UsersjbetancourtBTSyncgitnew-project.git\r\n* [new branch] master -&gt; master\r\nBranch master set up to track remote branch master from dropbox.<\/pre>\n<p><strong>Use Another System<\/strong><\/p>\n<p><em>On another system that is running BitTorrent Sync, the bare repository folder is already synced. Now, we can clone the repo.<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1,2,3,4,7,8,11,12,14,16]; title: ; notranslate\" title=\"\">cd temp\r\nmkdir remote-workspace\r\ncd remote-workspace\r\ngit clone -o dropbox UsersjbetancourtBTSyncgitnew-project.git\r\nCloning into 'new-project' ...\r\ndone.\r\ncd new-project\r\ndir\r\n11\/29\/2013 10:48 AM 5 README.txt<\/pre>\n<p><em>On this other system, modify a file and commit it.<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1,2,4,6]; title: ; notranslate\" title=\"\">echo \"Hello world\" &gt; README.txt\r\nC:tempremote-workspacenew-project&gt;type README.txt\"\r\nHello world\"\r\nC:tempremote-workspacenew-project&gt;git add README.txt\r\n\r\nC:tempremote-workspacenew-project&gt;git commit -m \"changed readme\"\r\n[master 452b02e] changed readme\r\n1 file changed, 1 insertion(+), 1 deletion(-)<\/pre>\n<p><em>Push the changes to the local bare repo<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">C:tempremote-workspacenew-project&gt;git push\r\nCounting objects: 5, done.\r\nWriting objects: 100% (3\/3), 260 bytes, done.\r\nTotal 3 (delta 0), reused 0 (delta 0)\r\nTo UsersjbetancourtBTSyncgitnew-project.git\r\ndcb3f2b..452b02e master -&gt; master<\/pre>\n<p><strong>Back to the original repo on the PC<\/strong><br \/>\n<em>Pull the changes that were automatically synced via BitTorrent Sync into<br \/>\nthe bare repo.<\/em><\/p>\n<pre class=\"brush: plain; highlight: [1,3,14]; title: ; notranslate\" title=\"\">type README.txt\r\n\"\"\r\nC:tempgit-on-BTSyncnew-project&gt;git pull\r\nremote: Counting objects: 5, done.\r\nremote: Total 3 (delta 0), reused 0 (delta 0)\r\nUnpacking objects: 100% (3\/3), done.\r\nFrom C:UsersjbetancourtBTSyncgitnew-project\r\n     dcb3f2b..452b02e master -&gt; dropbox\/master\r\nUpdating dcb3f2b..452b02e\r\nFast-forward\r\n   README.txt | 2 +-1\r\n   file changed, 1 insertion(+), 1 deletion(-)\r\n   C:tempgit-on-BTSyncnew-project&gt;type README.txt\r\n   \"Hello world\"<\/pre>\n<p>All done. That was easy!<\/p>\n<p><strong>Issues with syncing git repos with BitTorrent Sync?<\/strong><\/p>\n<p>\u2022 The machine with the source sync must be on to allow syncing. This is not true with a server-based sync solution like Dropbox.<br \/>\n\u2022 Damage is also synced: If one of the synced repos gets damaged, that damage is reproduced in all correlated syncs<br \/>\n\u2022 Repository ignored files are synced<br \/>\n\u2022 There was a <a href=\"http:\/\/forum.resilio.com\/topic\/18984-source-code-control-metadata-shouldnt-sync-by-default\/\">discussion<\/a> on whether the .git folder should be synced. Not sure I follow the rational.<br \/>\n\u2022 I don\u2019t know if there are any issues with BitTorrent Sync for long term work with a Git repo. People have complained of such issues with Dropbox. See this post about <a href=\"http:\/\/www.dzone.com\/links\/r\/mercurial_hg_with_dropbox.html\" target=\"_blank\" rel=\"noopener\">Mercurial use on DropBox<\/a>. In the comments of that blog post, robhamilton \u201c\u2026 found that it would break the repo. Mercurial locks files and creates temp journal files which get sync\u2019d by the dropbox daemon. My advice is to stop DropBox, perform your push\/commit, then restart DropBox. Pulls and clones are read only.\u201d Is this an issue with Git?<\/p>\n<p><strong>Further Reading <\/strong><br \/>\n\u2022 <a href=\"http:\/\/octodecillion.com\/blog\/bittorrent-for-deployments\/\">Using BitTorrent for large software deployments?<\/a><br \/>\n\u2022 <a href=\"http:\/\/forum.resilio.com\/topic\/18984-source-code-control-metadata-shouldnt-sync-by-default\/\">Source code control metadata shouldn\u2019t sync by default<\/a><br \/>\n\u2022 <a href=\"http:\/\/en.wikipedia.org\/wiki\/BitTorrent_Sync\">BitTorrent Sync<\/a> on WikiPedia<br \/>\n\u2022 <a href=\"http:\/\/blog.shvetsov.com\/2013\/04\/using-git-with-dropbox.html\">Using Git with Dropbox<\/a><br \/>\n\u2022 <a href=\"http:\/\/www.dzone.com\/links\/r\/mercurial_hg_with_dropbox.html\">Mercurial (hg) with Dropbox<\/a><br \/>\n\u2022 <a href=\"http:\/\/www.bunnyblogger.org\/2013\/7\/Sync-your-non-public-code-with-Git-and-GoogleDrive\">Sync your non-public code with Git and GoogleDrive<\/a><br \/>\n\u2022 <a href=\"http:\/\/octodecillion.com\/blog\/bittorrent-sync-on-mobile\/\">BitTorrent Sync on mobile<\/a><br \/>\n\u2022 <a href=\"http:\/\/bittorrent.gyre.wpengine.com\/2013\/07\/16\/behind-the-scenes-the-making-of-bittorrent-sync\/\">Behind the scenes: The Making of BitTorrent Sync<\/a><br \/>\n\u2022 Git server on Windows? <a href=\"http:\/\/gitblit.com\/\">Gitblit<\/a> open source, pure Java Git solution for managing, viewing, and serving Git repositories<br \/>\n\u2022 <a href=\"https:\/\/github.com\/github\/gitignore\">gitignore<\/a> project on github<\/p>\n<p><em>Josef Betancourt is a software developer and also does configuration management.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sync Hacks is a column dedicated to exploring new applications for Sync, as built by users like you. BitTorrent Sync is a free, unlimited, secure file-syncing app. (And now, it&#8217;s 2X faster.) If you&#8217;ve got an epic Sync idea, use-case or how-to, shoot us an email at sync[at]bittorrent.com. [wide] [\/wide] In this week&#8217;s Sync Hacks: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3655,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,136,261],"class_list":["post-3353","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-bittorrent-sync","tag-git","tag-hide-in-search-results"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog\" \/>\n<meta property=\"og:description\" content=\"Sync Hacks is a column dedicated to exploring new applications for Sync, as built by users like you. BitTorrent Sync is a free, unlimited, secure file-syncing app. (And now, it&#8217;s 2X faster.) If you&#8217;ve got an epic Sync idea, use-case or how-to, shoot us an email at sync[at]bittorrent.com. [wide] [\/wide] In this week&#8217;s Sync Hacks: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\" \/>\n<meta property=\"og:site_name\" content=\"Resilio Blog\" \/>\n<meta property=\"article:published_time\" content=\"2013-12-17T23:15:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-04T22:47:25+00:00\" \/>\n<meta name=\"author\" content=\"wpengine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wpengine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\"},\"author\":{\"name\":\"wpengine\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/e44f4c858e4528965ead5df70e0ae2a4\"},\"headline\":\"Sync Hacks: How to Use Git with BitTorrent Sync\",\"datePublished\":\"2013-12-17T23:15:39+00:00\",\"dateModified\":\"2022-10-04T22:47:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\"},\"wordCount\":733,\"publisher\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage\"},\"thumbnailUrl\":\"\",\"keywords\":[\"bittorrent sync\",\"git\",\"hide in search results\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\",\"url\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\",\"name\":\"Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog\",\"isPartOf\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2013-12-17T23:15:39+00:00\",\"dateModified\":\"2022-10-04T22:47:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.resilio.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sync Hacks: How to Use Git with BitTorrent Sync\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#website\",\"url\":\"https:\/\/blog.resilio.com\/blog\/\",\"name\":\"Resilio Blog\",\"description\":\"Explore Common Use cases, How to&#039;s, Comparisons &amp; More\",\"publisher\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.resilio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#organization\",\"name\":\"Resilio\",\"url\":\"https:\/\/blog.resilio.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png\",\"contentUrl\":\"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png\",\"width\":512,\"height\":512,\"caption\":\"Resilio\"},\"image\":{\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/resilio-inc.\",\"https:\/\/youtube.com\/resilio\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/e44f4c858e4528965ead5df70e0ae2a4\",\"name\":\"wpengine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g\",\"caption\":\"wpengine\"},\"description\":\"This is the \\\"wpengine\\\" admin user that our staff uses to gain access to your admin area to provide support and troubleshooting. It can only be accessed by a button in our secure log that auto generates a password and dumps that password after the staff member has logged in. We have taken extreme measures to ensure that our own user is not going to be misused to harm any of our clients sites.\",\"sameAs\":[\"http:\/\/wpengine.com\"],\"url\":\"https:\/\/blog.resilio.com\/blog\/author\/wpengine\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync","og_locale":"en_US","og_type":"article","og_title":"Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog","og_description":"Sync Hacks is a column dedicated to exploring new applications for Sync, as built by users like you. BitTorrent Sync is a free, unlimited, secure file-syncing app. (And now, it&#8217;s 2X faster.) If you&#8217;ve got an epic Sync idea, use-case or how-to, shoot us an email at sync[at]bittorrent.com. [wide] [\/wide] In this week&#8217;s Sync Hacks: [&hellip;]","og_url":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync","og_site_name":"Resilio Blog","article_published_time":"2013-12-17T23:15:39+00:00","article_modified_time":"2022-10-04T22:47:25+00:00","author":"wpengine","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wpengine","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#article","isPartOf":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync"},"author":{"name":"wpengine","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/e44f4c858e4528965ead5df70e0ae2a4"},"headline":"Sync Hacks: How to Use Git with BitTorrent Sync","datePublished":"2013-12-17T23:15:39+00:00","dateModified":"2022-10-04T22:47:25+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync"},"wordCount":733,"publisher":{"@id":"https:\/\/blog.resilio.com\/blog\/#organization"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage"},"thumbnailUrl":"","keywords":["bittorrent sync","git","hide in search results"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync","url":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync","name":"Sync Hacks: How to Use Git with BitTorrent Sync | Resilio Blog","isPartOf":{"@id":"https:\/\/blog.resilio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage"},"thumbnailUrl":"","datePublished":"2013-12-17T23:15:39+00:00","dateModified":"2022-10-04T22:47:25+00:00","breadcrumb":{"@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/blog.resilio.com\/blog\/sync-hacks-how-to-use-git-with-bittorrent-sync#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.resilio.com\/blog"},{"@type":"ListItem","position":2,"name":"Sync Hacks: How to Use Git with BitTorrent Sync"}]},{"@type":"WebSite","@id":"https:\/\/blog.resilio.com\/blog\/#website","url":"https:\/\/blog.resilio.com\/blog\/","name":"Resilio Blog","description":"Explore Common Use cases, How to&#039;s, Comparisons &amp; More","publisher":{"@id":"https:\/\/blog.resilio.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.resilio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.resilio.com\/blog\/#organization","name":"Resilio","url":"https:\/\/blog.resilio.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png","contentUrl":"https:\/\/blog.resilio.com\/wp-content\/uploads\/2024\/05\/cropped-resilio-icon-digital-navy-background.png","width":512,"height":512,"caption":"Resilio"},"image":{"@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/resilio-inc.","https:\/\/youtube.com\/resilio"]},{"@type":"Person","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/e44f4c858e4528965ead5df70e0ae2a4","name":"wpengine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.resilio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8770fe9625ca7c4601f13d9d0ab86565a6dac8cd6a77bfe2ada6d83c6837870?s=96&d=mm&r=g","caption":"wpengine"},"description":"This is the \"wpengine\" admin user that our staff uses to gain access to your admin area to provide support and troubleshooting. It can only be accessed by a button in our secure log that auto generates a password and dumps that password after the staff member has logged in. We have taken extreme measures to ensure that our own user is not going to be misused to harm any of our clients sites.","sameAs":["http:\/\/wpengine.com"],"url":"https:\/\/blog.resilio.com\/blog\/author\/wpengine"}]}},"_links":{"self":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts\/3353","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/comments?post=3353"}],"version-history":[{"count":0,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/posts\/3353\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/media?parent=3353"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/categories?post=3353"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.resilio.com\/blog\/wp-json\/wp\/v2\/tags?post=3353"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}