<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,31 +1,32 @@
 ---
 layout: post
-title: exporting your repository
-category: intermediate
-published: false
+title: exportando o seu reposit&#243;rio
+category: intermediario
 ---
 
-Previously there was a tip that covered &quot;sharing changes&quot;:http://gitready.com/intermediate/2009/01/24/sharing-your-changes.html but that included all of your repository's history. What if you just want to export a certain commit's changes? Or just one folder? What if you wanted to make an archive of the repository for backup? Fear not, for Git can do all that and more. Thanks to &quot;Stack Overflow&quot;:http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export for providing with some helpful hints to add into this post.
+Nos ultimos posts tivemos a dica &quot;compartilhando modifica&#231;&#245;es&quot;:http://pt-br.gitready.com/intermediario/2009/01/24/sharing-your-changes.html mas isso incluia todo o hist&#243;rico do seu reposit&#243;rio. E se voc&#234; quiser apenas exportar modifica&#231;&#245;es de certos commits? Ou apenas uma pasta? E se voc&#234; quiser fazer um arquivo do seu reposit&#243;rio para backup? Sem medo, o Git pode fazer isso tudo e mais. Obrigado ao &quot;Stack Overflow&quot;:http://stackoverflow.com/questions/160608/how-to-do-a-git-export-like-svn-export por me dar algumas dicas &#250;teis para adicionar nesse post.
 
-If your need is to just make a quick backup of your repository, doing a @git archive@ will help. So if you wanted to get zip file packed with your repository's files:
+Se o que voc&#234; precisa &#233; apenas fazer um backup r&#225;pido do seu reposit&#243;rio, um @git archive@ ser&#225; &#250;til. Se voc&#234; quiser um arquivo zip com os arquivos do seu reposit&#243;rio:
 
 @git archive HEAD --format=zip &gt; archive.zip@
 
-The archive command normally packages repos in tarballs, so you can easily pipe it to your favorite data compression program:
+O comando archive normalmente empacota reposit&#243;rios em tarballs, ent&#227;o voc&#234; pode facilmente utilizar o pipe e comprimir com seu programa de compress&#227;o favorito:
 
 @git archive HEAD | gzip &gt; archive.tar.gz@
 
-You can also archive a remote using the @--remote=&lt;repo&gt;@ option. Just be aware that this does not work with GitHub remotes, as &quot;they encourage you to use the download button instead.&quot;:http://groups.google.com/group/github/browse_thread/thread/cfcbcb1dc5f41f16 With any other remote it should work fine though, and check the &quot;manpage&quot;:http://www.kernel.org/pub/software/scm/git/docs/git-archive.html if you're having issues.
+Voc&#234; tamb&#233;m pode usar o comando archive em um reposit&#243;rio remoto usando @--remote=&lt;repo&gt;@. Apenas tome cuidado pois isso n&#227;o vai funcionar com reposit&#243;rios do GitHub, e eles &quot;recomendam usar o bot&#227;o download ao inv&#233;s.&quot;:http://groups.google.com/group/github/browse_thread/thread/cfcbcb1dc5f41f16 Com qualquer outro reposit&#243;rio remoto isso deve funcionar bem, veja a &quot;manpage&quot;:http://www.kernel.org/pub/software/scm/git/docs/git-archive.html se voc&#234; tiver problemas.
 
-What if you don't want a compressed version of the files? That's possible too thanks to the @checkout-index@ command. Basically, it copies everything on your index into a different folder. Exporting your repo would then be:
+E se voc&#234; n&#227;o quiser uma vers&#227;o comprimida dos arquivos? Isso &#233; possivel gra&#231;as ao comando @checkout-index@. Basicamente, ele copia tudo que est&#225; no seu index para uma pasta diferente. A exporta&#231;&#227;o do seu reposit&#243;rio seria assim:
 
 @git checkout-index -f -a --prefix=/path/to/folder/@
 
-The @-f@ option overwrites files, and the @-a@ option means all files and folders. Just don't forget the trailing slash on the @--prefix@ option, as it's very important! Omitting it will make the command think you want to prefix every file name with that argument instead.
+A op&#231;&#227;o @-f@ sobrescreve arquivos, e a op&#231;&#227;o @-a@ significa todos os arquivos e pastas. Apenas n&#227;o esque&#231;a da barra no final da op&#231;&#227;o @--prefix@, pois &#233; muito importante! Omitindo voc&#234; far&#225; com que o comando pense que voc&#234; quer colocar todos os nomes de arquivos com esse argumento como prefixo. 
 
-If you wanted to just export a specific file or folder (in this case everything in the bin/ folder and the readme):
+Se voc&#234; quiser apenas exportar uma pasta ou um arquivo espec&#237;fico (nesse caso tudo que est&#225; na pasta bin/ e o readme):
 
 @git checkout-index -f --prefix=/path/to/folder/ bin/* README.textile@ 
 
-Nice! You can also chain this command with @find@ if you wanted to export all header files for example. Check out all you can do with &quot;checkout-index at its manpage.&quot;:http://www.kernel.org/pub/software/scm/git/docs/git-checkout-index.html &quot;Daniel Schierbeck&quot;:http://github.com/dasch has wrapped this process up into a little script called &quot;git-export&quot;:http://github.com/dasch/git-export/tree that is worth a look if you need to do this often.
+Otimo! Voc&#234; tamb&#233;m pode encadear esse comando com o @find@ se voc&#234; quiser exportar todos os arquivos header por exemplo. Veja tudo o que voc&#234; pode fazer com &quot;checkout-index na sua manpage.&quot;:http://www.kernel.org/pub/software/scm/git/docs/git-checkout-index.html &quot;Daniel Schierbeck&quot;:http://github.com/dasch colocou esse processo em um pequeno script chamado &quot;git-export&quot;:http://github.com/dasch/git-export/tree e vale a pena dar uma olhada se voc&#234; precisar fazer isso.
 
+
+(Este artigo foi generozamente traduzido por &quot;Willian Molinari&quot;:http://pothix.com/blog/)</diff>
      <filename>_posts/2009-01-29-exporting-your-repository.textile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>bdbcd2540bf571d65ef31f1b0ebc4e858dbc7125</id>
    </parent>
  </parents>
  <author>
    <name>Willian Molinari</name>
    <email>willian.molinari@gmail.com</email>
  </author>
  <url>http://github.com/taylorrf/gitready/commit/6cb4e398734f4977252308225f7daac41c9740d1</url>
  <id>6cb4e398734f4977252308225f7daac41c9740d1</id>
  <committed-date>2009-07-04T17:23:26-07:00</committed-date>
  <authored-date>2009-07-04T08:39:37-07:00</authored-date>
  <message>Translated the tip about exporting repoto pt-br sitorie about exporting repositories

Signed-off-by: Tailor R. Fontela &lt;taylorrf@gmail.com&gt;</message>
  <tree>efc9183a6e5b708352e06bdfb4ab4b6ca9ffdaf9</tree>
  <committer>
    <name>Tailor R. Fontela</name>
    <email>taylorrf@gmail.com</email>
  </committer>
</commit>
