autogit-cli
v1.0.5
Published
autogit-cli tool allows to run git commands more simpler.
Downloads
381
Maintainers
Readme
INSTALLATION
| Function | Auto Fetch |
|-------------|----------------|
| .gitignore
| node_modules/,dist/,.env,*.log,coverage/,.DS_Store,git_history.json and more . . .
| [+added, -removed]
| main.py [+56 ] [-6 ], index.js [+27 ] [-3 ],index.js [+10] [-3] |
|commit suggest
| 'Updated files', 'Refactor code', 'Fix bugs', 'Enhance performance', 'Add new feature', and more . . .|
|branch fetch
| origin/main (default), master, custom branch|
|git history
| Shows previous activity in json format in current project.|
Usage
Type autogit
in your terminal with your active and remotely Git
repo in project.
Note: Current project has remote git repo exits, if not it will show error.
// shows Branch , SHA , Commit msg
{ Branch: "main", SHA: "p5m73l0", Commit: "Fix bugs" }
// create a githistory.json file where all GITHUB history is shown as json format
autogit -h
Error fix
setx PATH "%PATH%;%APPDATA%\npm"
The command setx PATH "%PATH%;%APPDATA%\npm"
appends the npm global installation directory (%APPDATA%\npm)
to the PATH
environment variable on Windows. This allows you to run globally installed npm packages from any command prompt or terminal without needing to specify their full paths. The change is permanent and will affect new terminal sessions.