Skip to content

Instantly share code, notes, and snippets.

View Ravin001's full-sized avatar
💭

Ravinderpal Singh Ravin001

💭
View GitHub Profile
@ckrybus
ckrybus / 1integrate-django-filter-django-tables2-django-crispy-forms.md
Last active May 13, 2024 05:01
How to integrate django-crispy-forms, django-tables2 and django-filter in order to display a paginated table with filter functionality.
@dsernst
dsernst / comparing-git-add-all.md
Last active July 10, 2024 20:35
Compare `git add .` vs `git add -A`

git add . vs git add -A

Both of these will stage all files, including new files (which git commit -a misses) and deleted files.

The difference is that git add -A also stages files in higher directories that still belong to the same git repository. Here's an example:

/my-repo
  .git/
 subfolder/