Skip to content

Install git-lfs into git-hooks without --manual with concatenate.

License

Notifications You must be signed in to change notification settings

aiya000/sh-git-lfs-install-append

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

💠 git-lfs-install-append 💠

Problem

Often we cannot use $ git lfs install because we already have .git/hooks/*.

For this problem, git-lfs provide $ git lfs install --manual. But now, the manually operation is required 😢

Solve

git-lfs-install-append solves this problem!

git-lfs-install-append provides a way to append needed lines already existent git-hooks scripts.
Instead of the manually operation.
With your favorite choice :3

💫 How to use this 💫

Installation

$ git clone https://github.com/aiya000/sh-git-lfs-install-append ~/git  # ~/git or an another directory you like
$ echo 'export PATH=$PATH:~/git/sh-git-lfs-install-append' >> ~/.bashrc  # or your shell configuration file

# Please restart your shell :3

Usage

$ cd <a git project that never installed git-lfs hooks>
$ git-lfs-install-append

# Please input your choice to install git-lfs hooks

About

Install git-lfs into git-hooks without --manual with concatenate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages