Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Last active July 4, 2022 18:32
Show Gist options
  • Save claudiosanches/1199d1564a739abeef2968e7d0b0a4c8 to your computer and use it in GitHub Desktop.
Save claudiosanches/1199d1564a739abeef2968e7d0b0a4c8 to your computer and use it in GitHub Desktop.

Revisions

  1. claudiosanches revised this gist Jan 21, 2021. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions svn-checkout.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    svn co --depth=files https://plugins.svn.wordpress.org/woocommerce/ # Checkout project without fetching content
    cd woocommerce
    svn up assets branches trunk # Fetch content for everything except for the tags
    svn up --set-depth=immediates tags # Create tags directory tree, but don't fetch any content
    svn up --set-depth=infinity tags/<tag_number> # Fetch content for a tag
  2. claudiosanches created this gist May 27, 2020.
    4 changes: 4 additions & 0 deletions svn-checkout.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    svn co --depth=files https://plugins.svn.wordpress.org/woocommerce/ # Checkout project without fetching content
    svn up assets branches trunk # Fetch content for everything except for the tags
    svn up --set-depth=immediates tags # Create tags directory tree, but don't fetch any content
    svn up --set-depth=infinity tags/<tag_number> # Fetch content for a tag