<commit_before>= gitswitch

Easily switch your current git user info.  Handy for work and personal repositories.  Also might come in handy for switching between users while pair programming.

== Install

  gem install gitswitch

== Usage

Simply run the script to establish a default ~/.gitswitch file using the git info you already have in your ~/.gitconfig file
  gitswitch 

Add a new git user tag
  gitswitch -a

Set specific user info to your current git repository
  gitswitch -r work
  gitswitch -r  # Sets your 'default' tag if you don't specify a tag

List all the gitswitch user tags/info you have stored
  gitswitch -l

  Current git user options --
	default:
	  Name:   <NAME>
	  E-mail: <EMAIL>
	work:<commit_msg>Keep updating that README to try to convey what this gem does.  Now if only my gem had some tests, I could be proud.<commit_after>= gitswitch

Easily switch your current git user info.  Handy for work and personal repositories.  Also might come in handy for switching between users while pair programming.

Would you rather type "git config user.email '<EMAIL>'", etc. or type "gitswitch -r work"?  If you answered the latter, check out this gem.

== Install

  gem install gitswitch

== Usage

Simply run the script to establish a default ~/.gitswitch file using the git info you already have in your ~/.gitconfig file
  gitswitch 

Add a new git user tag
  gitswitch -a

Set specific user info to your current git repository
  gitswitch -r work
  gitswitch -r  # Sets your 'default' tag if you don't specify a tag

List all the gitswitch user tags/info you have stored
  gitswitch -l

  Current git user options --
	default:
	  Name:   <NAME>
	  E-mail: <EMAIL>
	work:
{'fraction_non_alphanumeric': 0.054245283018867926, 'fraction_numerical': 0.0, 'mean_word_length': 3.4657894736842105, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '284535', 'n_tokens_mistral': 522, 'n_tokens_neox': 503, 'n_words': 259}