# git-status-size **Repository Path**: circlelq/git-status-size ## Basic Information - **Project Name**: git-status-size - **Description**: 显示 git status 各个文件的大小。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-21 - **Last Updated**: 2024-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Git-Status-Size This is a small custom git command that allows you to see the sizes of all of the untracked, modified, and added files in a repo. Once installed you can call `git status-size` to get a list of file sizes in your terminal.

## Installation 1. `git clone https://gitee/circlelq/git-status-size` 2. `cd git-status-size` 3. To invoke it anywhere you'll need to export the file into your PATH. In your script file use `export PATH="/path/to/your-script/directory:$PATH` 4. Make it into an executable with `sudo chmod +x git-status-size` Now it should work! Go to the terminal in any repo(root directory), call `git status-size`, and you should recieve an output like the one in the gif above. If you have any files over 10mb, you will be prompted if you want to add these files to your `.gitignore`. If your file name has Chinese characters, please enter the following command in your command line ```shell git config --global core.quotepath false ``` Thanks Joshua Loong for source code. https://github.com/jtloong/git-status-size ## License MIT