<commit_before>=======================
 Standard git workflow
=======================

Editing and commiting
======================

If you haven't already, :ref:`forking`, and :ref:`cloning`, and |repo-cd|

Then:

#. Make some changes
#. See which files have changed with ``git status``.  If you have done
   :ref:`git-config` then you could use the configured alias for
   ``status`` - as it ``git stat``.  You'll see a listing like this one::

   # On branch master
   # Changed but not updated:
   #   (use "git add <file>..." to update what will be committed)
   #   (use "git checkout -- <file>..." to discard changes in working directory)
   #
   #	modified:   README
   #
   # Untracked files:
   #   (use "git add <file>..." to include in what will be committed)
   #
   #	INSTALL
   no changes added to commit (use "git add" and/or "git commit -a")

#. Check what the actual changes are with ``git diff``
#. Add any new files to version control ``git add new_file_name``
#. To commit all modified files, do ``git commit -am 'A commit
   message'``.  Note the ``-a`` flag to ``git commit``.  This commits
   *to your local machine*.

Pushing up to your github_ repo
===============================

``git push origin master``
<commit_msg>Some formatting fixes<commit_after>=======================
 Standard git workflow
=======================

Editing and commiting
======================

If you haven't already, :ref:`forking`, and :ref:`cloning`, and |repo-cd|

Then:

#. Make some changes
#. See which files have changed with ``git status``.  If you have done
   :ref:`git-config` then you could use the configured alias for
   ``status`` - as in ``git stat``.  You'll see a listing like this one::

     # On branch master
     # Changed but not updated:
     #   (use "git add <file>..." to update what will be committed)
     #   (use "git checkout -- <file>..." to discard changes in working directory)
     #
     #	modified:   README
     #
     # Untracked files:
     #   (use "git add <file>..." to include in what will be committed)
     #
     #	INSTALL
     no changes added to commit (use "git add" and/or "git commit -a")

#. Check what the actual changes are with ``git diff``
#. Add any new files to version control ``git add new_file_name``
#. To commit all modified files, do ``git commit -am 'A commit
   message'``.  Note the ``-a`` flag to ``git commit``.  This commits
   *to your local machine*.

Pushing up to your github_ repo
===============================

``git push origin master``

{'fraction_non_alphanumeric': 0.1868566904196358, 'fraction_numerical': 0.0, 'mean_word_length': 3.3049403747870527, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3362818', 'n_tokens_mistral': 751, 'n_tokens_neox': 704, 'n_words': 326}