danielgp / git-operations
GIT repetitive opertions made easy
1.0.6
2022-06-13 13:23 UTC
Requires
- php: ^5.4 || ^5.5 || ^5.6 || ^7.0 || ^7.1 || ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1
- ext-json: *
- danielgp/io-operations: ^1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
GIT repetitive opertions made easy
What is this repository for?
This repository is intended to ease various GIT operations
Who do I talk to?
Repository owner is: Daniel Popiniuc
Usage
- Generate CSV output by running
<git_binary_path>git.exe log --decorate --oneline --no-abbrev-commit --pretty=tformat:\"%%an;%%ae;%%cn;%%ce;%%T;%%H;%%aI;%%cI;%%D;%%s;%%-\" --shortstat > <your_path_where_results_will_be_stored><results_file_name_raw>. As this file will have some empty lines and unstructured ones to highlight file changes, insertions or deletions. - To standardize prior generate file into proper CSV format run
<php_binary_path>php.exe -c <php_configuration_path>php.ini <path_where_this_package_resides_on_your_hdd>/source/HandleGitLogOutput.php --strInputFormat=<git_log_switches> --strInputPath=<results_file_path> --strInputFileName=<results_file_name_raw> --strOutputHeaderLabel=<label_configured_in_json_file_containing_list_of_meaningfull_words> --strOutputPath=<results_file_path_final> --strOutputFileName=<results_file_name_final>