Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Run specific code after git pulled a directory #838

Open
rodrgz opened this issue Jan 19, 2022 · 1 comment
Open

Run specific code after git pulled a directory #838

rodrgz opened this issue Jan 19, 2022 · 1 comment
Labels
feature New feature or request

Comments

@rodrgz
Copy link

rodrgz commented Jan 19, 2022

Can be interesting to run specific code like builds and installs (meson build, ninja -C build install, ...) or a shell script in a folder that was git pulled with success. This would improve the upgrade experience for those who compile some things.

@r-darwish r-darwish added the feature New feature or request label Jan 24, 2022
@Saijin-Naib
Copy link

Yeah, this would be incredible.

There are a number of git repositories I have cloned locally which I use topgrade to pull latest commits to.

However, I also want/need to keep my forks of them in-step, so I manually cd to each directory and run a shell script/alias to do that:

git fetch upstream && git merge upstream/master master && git push

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants