Skip to content

Commit and push to a repository with just one command.

License

Notifications You must be signed in to change notification settings

vrenacruz/auto-commit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Commit/Push

Make a git commit with a simple command and control the repository version.

Laguna

Run

Just open the command line and type:

 sh autocommit.sh

Steps

  1. Use node to open the version.json file and update the revision.
  2. See the status of the repository.
  3. Add all files to the repository.
  4. Make a commit by passing the version.revision number as a message.
  5. Push the files to the remote repository in the master branch.

Requeriments

  • Node CLI
  • JQ

Install JQ

Install JQ on Windows with Choco

 choco install jq

Install JQ on Linux/Ubuntu

 sudo apt-get install jq

Autor Ariel Ivan Diaz

About

Commit and push to a repository with just one command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.9%
  • Shell 37.1%