Giter Site home page Giter Site logo

gitupdate's Introduction

GitUpdate Thanks

Commit and push updated files with file names as commit message

Install

go install github.com/nikitavoloboev/gitupdate@latest

Usage

You can either use it by passing it a file path (with git repo) that you want to commit. i.e.

gitupdate /Users/nikivi/src/cli/gitupdate

Or if you are already in the git directory you want to commit, run:

gitupdate .

This will add all files that have changed since last commit and will include all the file names (without extension) as the commit message. Example use.

If you want to only consider top level folders for the commit message, use the --top (or -t for short) flag.

I personally find it very useful for personal repos where commits are not that important (i.e. notes/dotfiles/docs). I treat these repos as write only so there is no point in wasting time writing a commit message.

Run

  1. Clone repo
  2. If you use VSCode with Go plugin, it will install all Go dependencies for you in the background when you open the project.
  3. Edit the code & run it with go run ..

I use watchexec to develop.

Running watchexec --exts go "echo -- && go run ." will automatically rerun go run . for you on every Go file changed.

Contribute

Have idea how to improve or something is broken?

Search for existing issues or open new one.

PRs with code/docs changes are welcome.

Thank you

You can support me on GitHub or look into other projects I shared.

I also have personal Discord you can join for more indepth discussions.

MIT Twitter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.