You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails to commit as the resulting action is to make the CWD = ../../builds/ as expected, but then tries to find the file as ../../builds/release.tar, which throws a fatal error in the git command due to files being used outside the working directory (of git).
Same problem here. My project folder structure looks as following: /project/frontend - here is my Gruntfile.js and my frontend html app /project/webapp - here is my backend application.
Each folder has an own git repo.
My build process copies files from /project/frontend/app to /project/webapp/frontend .
I want to git add and git push for both repo. But when I set the options.cwd : <%= yeoman.dist %> (which points to /project/webapp) then I receive the following error message: Running "gitadd:build" (gitadd) task fatal: ../webapp: '../webapp' is outside repository
How can I git add/commit/push any git repo outside my Gruntfile.js folder?
Activity
barkoczi commentedon Oct 9, 2015
Same problem here. My project folder structure looks as following:
/project/frontend- here is my Gruntfile.js and my frontend html app/project/webapp- here is my backend application.Each folder has an own git repo.
My build process copies files from
/project/frontend/appto/project/webapp/frontend.I want to git add and git push for both repo. But when I set the
options.cwd : <%= yeoman.dist %>(which points to /project/webapp) then I receive the following error message:Running "gitadd:build" (gitadd) task fatal: ../webapp: '../webapp' is outside repositoryHow can I git add/commit/push any git repo outside my Gruntfile.js folder?
dominikwilkowski commentedon Jan 11, 2016
same issue here... 👍 for a fix