Giter Site home page Giter Site logo

shallow checkout about cimg-node HOT 5 CLOSED

circleci-public avatar circleci-public commented on July 19, 2024
shallow checkout

from cimg-node.

Comments (5)

felicianotech avatar felicianotech commented on July 19, 2024

In what context? For what?

from cimg-node.

joshribakoff-sm avatar joshribakoff-sm commented on July 19, 2024

The link I posted outlines how you would do a shallow checkout, and why:

Shallow cloning a git repository can offer some performance improvement, especially for larger projects with a number of commits, by pulling the smallest number of changes possible. This can either be implemented manually using a custom cloning step or by utilizing an Orb.

https://github.com/CircleCI-Public/cimg-node#getting-started
Your readme instructs users to run - checkout, which does a deep checkout I think?

In my case, I need the main branch and whatever branch CI is running on, but I don't need the full history of the main branch, or unrelated branches.

from cimg-node.

felicianotech avatar felicianotech commented on July 19, 2024

If you're talking about the example config in this repository's readme, it is showing the CircleCI checkout step. The step doesn't always do a full clone, it depends on the scenario. Regardless, it's the default way to checkout code on CircleCI which works for most people, this is why it's used in the example.

Thank you for the suggestion.

from cimg-node.

joshribakoff-sm avatar joshribakoff-sm commented on July 19, 2024

I assumed this orb was providing that step, but if not apologies for filing on the wrong repo

from cimg-node.

felicianotech avatar felicianotech commented on July 19, 2024

This repository is for the Node.js Convenience Image. If you're looking for the Node.js Orb, that can be found here: https://github.com/CircleCI-Public/node-orb

I hope that helps. πŸ™‚

from cimg-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.