<commit_before>---
layout: default
title: A collection of often-forgotten git commands
comments: "yes"
disqus-id: 9b9095c5f72440171ea4125a2f1bd22af5eab113
---

- View all unadded files, including ones in <code>.gitignore</code>.

        git add -Anf

   <code>-A</code>: all; <code>-n</code>: dry run; <code>-f</code>: force files in <code>.gitignore</code>.

   See <http://stackoverflow.com/questions/3801321/git-list-only-untracked-files-also-custom-commands>.
<commit_msg>add computing tag<commit_after>---
layout: default
title: A collection of often-forgotten git commands
comments: "yes"
disqus-id: 9b9095c5f72440171ea4125a2f1bd22af5eab113
tags: computing
---

- View all unadded files, including ones in <code>.gitignore</code>.

        git add -Anf

   <code>-A</code>: all; <code>-n</code>: dry run; <code>-f</code>: force files in <code>.gitignore</code>.

   See <http://stackoverflow.com/questions/3801321/git-list-only-untracked-files-also-custom-commands>.

{'fraction_non_alphanumeric': 0.15297741273100615, 'fraction_numerical': 0.06776180698151951, 'mean_word_length': 4.104712041884817, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6490673', 'n_tokens_mistral': 389, 'n_tokens_neox': 342, 'n_words': 78}