Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions on git large file system and submodule #701

Open
sunyi000 opened this issue Nov 13, 2019 · 1 comment
Open

Suggestions on git large file system and submodule #701

sunyi000 opened this issue Nov 13, 2019 · 1 comment

Comments

@sunyi000
Copy link

@sunyi000 sunyi000 commented Nov 13, 2019

I would like to make the following 2 suggestions

  1. in episode 10 https://github.com/swcarpentry/git-novice/blob/gh-pages/_episodes/10-open.md
    it mentioned a little on Git LFS. I think it should also mention that the recommended size of a repository is < 1Gb. Git should be used for source code, not as a storage solutions. Storing graphical/binary assets in git is not a good idea and should not be encouraged.

  2. Maybe worth adding a section/episode on 'git submodule'.
    It is useful when a project depends on another one in a separate repository.

@munkm

This comment has been minimized.

Copy link
Member

@munkm munkm commented Dec 10, 2019

Hi @sunyi000,

  1. git should absolutely be used for source code, and not storage solutions. However, for things like test data git LFS can be extremely helpful. I don't think this particular solution is "encouraging" our learners to store data in git. That said, I think it would be a helpful addition to this particular exercise to add a sentence talking about best practices for repositories (including not tracking datafiles).

  2. I think 'git submodule' is far outside of the scope of the git-novice lesson, but certainly could be included in an intermediate or advanced lesson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.