Skip to content

Instantly share code, notes, and snippets.

View joydeba's full-sized avatar

Debasish Chakroborti joydeba

View GitHub Profile
@joydeba
joydeba / remove-git-lfs.md
Created July 19, 2022 18:49 — forked from everttrollip/remove-git-lfs.md
Removing git lfs from (any) repository

So, it has been an interesting journey, but time to remove git-lfs. Here follows a summary of the approach I used to safely remove git-lfs,

  • commit & push everything
  • create a branch, something like fix/remove-lfs
  • remove hooks git lfs uninstall
  • remove lfs stuff from .gitattributes (open file, delete content - don't delete the file!)
  • list all lfs files, git lfs ls-files
  • run git rm --cached for each file
    • if your list is big, copy the contents into a file.txt
  • make sure you remove the number and asterik on each line, you only want the paths to the files
@joydeba
joydeba / stats_equations.Rmd
Created April 4, 2020 05:07 — forked from derekmcloughlin/stats_equations.Rmd
Useful Latex Equations used in R Markdown for Statistics
---
title: "Sample Equations used in Statistics"
output: html_document
---
### Summations
### Without Indices
$\sum x_{i}$