https://github.com/trybeee/GitStats
I already have all of these,Python (>= 2.4.4) (python3 is not supported),Git (>= 1.5.2.4) ,Gnuplot (>= 4.0.0),and a git repository (bare clone will work as well). And I also cloned the gitstats repository.
According to the tutorial, I should run
$ ./git-stats /mnt/src/git/project ~/public_html/project
.
This looks like basing on Linux system, but I'm using W7.
The path of my repository is C/Users/XX/.git/refs/remotes/orgin/firstbranch
.
Here are my questions. Where should I run the codes? Should I run them in git bash?
After I typed
git-stats C/Users/XX/.git/refs/remotes/orgin/firstbranch public_html/project
in git bash.
It showed:sh.exe": git-stats: command not found
If I go to the file of gitstats ,open git bash and run the codes, it says "No such file or directory".
I have no idea about how to use gitstats. It seems too simple to be discussed for most of people, so I can't find a lot of article about it.
Please help! Thanks!!
To check the status, open the git bash, and run the status command on your desired directory. It will run as follows: $ git status.
Launch Git Bash console by clicking on the Start button, type git, and click on Git Bash. 2. Run the below git config command to add your name ( YourName ) as your git username ( user.name ). The git config command administers configuration variables that control how Git looks and operates.
On Windows use python git-stats
instead of just git-stats
. You may also create a git-stats.cmd
file with this only line: @call python D:\Path\To\GitStats\git-stats %*
You may use ordinary Windows paths with backslashes. You also don't have /mnt
on Windows.
Point to your repository root, where the .git
folder is, not to a branch.
So you are going to invoke the following command (assuming you are in the GitStats
directory and python
is on your PATH):
python git-stats C:\Users\XX\ C:\Users\XX-stats
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With