Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support "git pull" post hook alongside "git commit" pre hook #6

Open
vvambo opened this issue Apr 3, 2022 · 2 comments
Open

Support "git pull" post hook alongside "git commit" pre hook #6

vvambo opened this issue Apr 3, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@vvambo
Copy link

vvambo commented Apr 3, 2022

I haven't looked deeply into git pre-hooks, but I imagine the ppl using this could provide instructions (or even upgrade the init.sh with an option) to make the git-meta commands run whenever an commit is done (before) and after a pull is done as to provide a seamless experience.

@danimesq
Copy link
Member

danimesq commented Dec 25, 2022

@vvambo it already runs at a pre-commit hook (pls remember that it is installed manually per repo, by placing git-meta.sh and init.sh then running init.sh). Storing timestamps after a pull/merging is an amazing idea I haven't though about before

@danimesq danimesq changed the title Provide support to integrate into usual git commands (commit / pull) Support "git pull" post hook alongside "git commit" pre hook Dec 25, 2022
@danimesq danimesq self-assigned this Dec 25, 2022
@danimesq danimesq added enhancement New feature or request good first issue Good for newcomers labels Dec 25, 2022
@frferrara
Copy link

As an addition, the post-checkout hook could also be adapted (such that the metadata is also updated when a branch is checked out).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants