Skip to content

Instantly share code, notes, and snippets.

@GiliardGodoi
GiliardGodoi / remove-big-file.sh
Created April 17, 2018 18:12 — forked from BrunoGrandePhD/remove-big-file.sh
Remove a large committed file from your Git repository.
# The commands below are a guide to remove a large file that has been
# accidentally committed to a Git repository's history. If the file is
# larger than 100 MB, GitHub will prevent you from pushing your latest
# commits. The annotated steps below should help you remove the large
# file from your commit history, even if you've made new commit since.
# Some Git users advise against rebasing. You can safely use it here
# because you haven't published your changes yet.
# So, you first need to rebase your current branch onto the point that
@GiliardGodoi
GiliardGodoi / git.md
Last active April 23, 2020 01:09 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified) ou área de trabalho (working directory)
  • Preparado (staged/index)
  • Consolidado (comitted)

Ajuda