Comments (6)
I tried this and it kinda works. The fetch actually fails but pwd is executed correctly
"ffwd": {
"cmd": "git fetch ; pwd",
"allow_all": true,
"help": "fast forward the git repos using custom script"
}
from gita.
sorry it doesn't work, the repo path is printed out by default
from gita.
Maybe there is no workaround; we will need to copy the async logic to gita shell
from gita.
Hello,
I'm using gita since a while now and I find it very helpful in mutli repo projects.
to rejoin s7jones issue, I also tried the custom command fetchcrt
in the readme.md but it didn't work also. However some simple command like "git status" works fine.
Is there any workaround please, I'm interested in running shell commands.
Also it will be intersecting if external commands can take arguments e.g. gita custom_cmd agr1 agr2
Regards,
from gita.
@Ismailou just curious, what kind of shell command do you want to run in each repo?
from gita.
what
I tried the command of fetchcrt
example in the readme
"fetchcrt":
{
"cmd": "git rev-parse --abbrev-ref HEAD | xargs git fetch --prune upstream",
"allow_all": true,
"shell": true,
"help": "fetch current branch only"
}
I tried it on Windows 10 machine in bash, powershell and git Bash the same result.
Regards,
from gita.
Related Issues (20)
- Issues with git pull/fetch HOT 5
- CI does not test recent Python versions
- Color printing does not work with Python 3.11 HOT 1
- dynamic groups based on status HOT 3
- problem displaying repo status properly HOT 12
- Number of modified files
- show status as words as well as colour in `gita ll` HOT 4
- long listing version of `gita ll` that lists modified filenames for each repo HOT 4
- Revised symbols HOT 22
- gita ll - nothing happend HOT 2
- Gita clone -g should create group if not exists. HOT 2
- Adding groups doesn't work as in readme example HOT 3
- Suggestion: gita super based on a branch
- Limit `gita ll` column widths HOT 2
- support git worktrees in gita freeze
- using gita to move and sync repo structure between workspaces HOT 5
- add more meta data in `gita freeze`
- `gita super diff` not working HOT 2
- failure with many repositories on MacOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gita.