go-git-archive

command module
v0.0.0-...-5188fb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 9 Imported by: 0

README

Go Git Archive Tweet

Go Report Card

A small command line tool for zipping all files changed between two git commits.

Usage

By default -last will be the current HEAD within your repository and therefore only the -first value is required.

Usage of git-archive.exe:
  -first string
        The git commit that we are to begin at.
  -last string
        The git commit that we are to end at. (default "...")
  -list
        List files rather than write to zip.
  -v    Toggle verbose output.

Reasoning

I have been slowly learning Go as a hobby for the past few months, usually in blocks of an hour a month and have been working on small projects that I can easily get finished. This is one such project and it solves a problem I have at work where we often need to upload just the files changed between commit versions as a zip to an FTP endpoint.

License

Distributed under MIT License, please see license file in code for more details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL