<commit_before>nogit
=====

Local git replacement as a last resort. Created to get rid of local git dependency in npm and bower, so contains only tiny subset of git features for those tools.

## Usage

```sh
> git

  Usage: git [options] [command]

  Commands:

    clone [options] <url> [dir]      Clone a repository into a new directory
    fetch [options] [repo]           Download objects and refs from another repository
    config [options]                 Get repository options
    rev-list [options] <commit>      Lists commit objects in reverse chronological order
    archive [options] <commit>       Create an archive of files from a named tree

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

```<commit_msg>Added proxy configuration help to readme<commit_after>nogit
=====

Local git replacement as a last resort. Created to get rid of local git dependency in npm and bower, so contains only tiny subset of git features for those tools.

## Usage

```sh
> git

  Usage: git [options] [command]

  Commands:

    clone [options] <url> [dir]      Clone a repository into a new directory
    fetch [options] [repo]           Download objects and refs from another repository
    config [options]                 Get repository options
    rev-list [options] <commit>      Lists commit objects in reverse chronological order
    archive [options] <commit>       Create an archive of files from a named tree

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

```

## Proxy settings

If `nogit` should use a proxy for remote connections, use **one** of the next solutions:

**1)** Set `HTTP_PROXY` and/or `HTTPS_PROXY` environment variables to the proxy URL. For Node.js delivered via NuGet, edit `~/.bin/node.cmd` file:
    
    SET HTTP_PROXY=http://1:1@127.0.0.1:8888
    SET HTTPS_PROXY=http://1:1@127.0.0.1:8888

where `http://1:1@127.0.0.1:8888` is the proxy at `127.0.0.1:8888` with username `1` and password `1` used for authentication.

Use this solution to set single proxy settings for all environments used in your project. This is a recommended solution, it will also force `bower` and `npm` to use the proxy.

**2)** Add next lines to your local `%USERPROFILE%\.gitconfig` file:
 
    [http]
        proxy = http://1:1@127.0.0.1:8888
    [https]
        proxy = http://1:1@127.0.0.1:8888

where `http://1:1@127.0.0.1:8888` is the proxy at `127.0.0.1:8888` with username `1` and password `1` used for authentication.

Use this solution to set proxy settings for single environment only.

**3)** If your proxy only doesn't allow `git://` URLs, you can add next lines to your local `%USERPROFILE%\.gitconfig` file:

    [url "https://"]
        insteadOf = git://
    
Then `nogit` will use `https://` URLs everywhere to work with remotes. Note, that for proxy settings in solutions 1) and 2), `nogit` will also use `https://` URLs everywhere.
{'fraction_non_alphanumeric': 0.10141509433962265, 'fraction_numerical': 0.034029649595687335, 'mean_word_length': 3.1121883656509697, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3762809', 'n_tokens_mistral': 924, 'n_tokens_neox': 864, 'n_words': 383}