<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: João Paulo</title>
    <description>The latest articles on DEV Community by João Paulo (@jpamis).</description>
    <link>https://dev.to/jpamis</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F9563%2FJrAblSE-.jpg</url>
      <title>DEV Community: João Paulo</title>
      <link>https://dev.to/jpamis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jpamis"/>
    <language>en</language>
    <item>
      <title>Files got to big in your git repo? Git-LFS migrate command to the rescue</title>
      <dc:creator>João Paulo</dc:creator>
      <pubDate>Wed, 11 Dec 2019 04:16:01 +0000</pubDate>
      <link>https://dev.to/jpamis/files-got-to-big-in-your-git-repo-git-lfs-to-the-rescue-29j9</link>
      <guid>https://dev.to/jpamis/files-got-to-big-in-your-git-repo-git-lfs-to-the-rescue-29j9</guid>
      <description>&lt;p&gt;&lt;strong&gt;What happens if you commit a file and at some point it got too big for Github?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;All I was hearing is about a tool called  &lt;a href="https://git-lfs.github.com"&gt;git-lfs&lt;/a&gt; and it always involve having to clear my commits manually removing the now huge file.&lt;/p&gt;

&lt;p&gt;What I discovered today is that there is a command called &lt;strong&gt;migrate&lt;/strong&gt; in &lt;em&gt;git-lfs&lt;/em&gt; that does everything for you!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;git lfs migrate import &lt;span class="nt"&gt;--include&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"*.psd"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thanks for the code gods in git-lfs repo! 🙌🏻&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qF2jUiUG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-6a5bca60a4ebf959a6df7f08217acd07ac2bc285164fae041eacb8a148b1bab9.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/git-lfs"&gt;
        git-lfs
      &lt;/a&gt; / &lt;a href="https://github.com/git-lfs/git-lfs"&gt;
        git-lfs
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Git extension for versioning large files
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Git Large File Storage&lt;/h1&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/git-lfs/git-lfs/workflows/CI/badge.svg"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pOSlGDFj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/git-lfs/git-lfs/workflows/CI/badge.svg" alt="CI status"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://git-lfs.github.com"&gt;Git LFS&lt;/a&gt; is a command line extension and
&lt;a href="https://raw.githubusercontent.com/git-lfs/git-lfs/master/docs/spec.md"&gt;specification&lt;/a&gt; for managing large files with Git.&lt;/p&gt;
&lt;p&gt;The client is written in Go, with pre-compiled binaries available for Mac
Windows, Linux, and FreeBSD. Check out the &lt;a href="http://git-lfs.github.com"&gt;website&lt;/a&gt;
for an overview of features.&lt;/p&gt;
&lt;h2&gt;
Getting Started&lt;/h2&gt;
&lt;h3&gt;
Downloading&lt;/h3&gt;
&lt;p&gt;You can install the Git LFS client in several different ways, depending on your
setup and preferences.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linux users&lt;/strong&gt;. Debian and RPM packages are available from
&lt;a href="https://packagecloud.io/github/git-lfs/install" rel="nofollow"&gt;PackageCloud&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;macOS users&lt;/strong&gt;. &lt;a href="https://brew.sh" rel="nofollow"&gt;Homebrew&lt;/a&gt; bottles are distributed, and can
be installed via &lt;code&gt;brew install git-lfs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows users&lt;/strong&gt;. Git LFS is included in the distribution of
&lt;a href="https://gitforwindows.org/" rel="nofollow"&gt;Git for Windows&lt;/a&gt;. Alternatively, you can
install a recent version of Git LFS from the &lt;a href="https://chocolatey.org/" rel="nofollow"&gt;Chocolatey&lt;/a&gt; package manager.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Binary packages&lt;/strong&gt;. In addition, &lt;a href="https://github.com/git-lfs/git-lfs/releases"&gt;binary packages&lt;/a&gt; are
available for Linux, macOS, Windows, and FreeBSD.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Building from source&lt;/strong&gt;. &lt;a href="https://github.com/git-lfs/git-lfs.git"&gt;This repository&lt;/a&gt; can also be
built from source using…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/git-lfs/git-lfs"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



</description>
      <category>github</category>
      <category>git</category>
      <category>gitfls</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
