WebMay 10, 2024 · I have a git-managed project called myProject which contains a submodule called mySubmodule. There is a point in our pipeline where we clone the whole myProject and then we run this git command: git submodule update --init --recursive --remote. But it looks like it doesn't pull the latest state from the original submodule's repo. WebApr 13, 2024 · 私は、サブモジュールとしてGitHubから1つの小さなライブラリを含むプロジェクトを持っています。. そのスーパープロジェクトの元のバージョンでは、サブモジュールは期待通りに動作しています。. しかし、私はスーパープロジェクトをクローンし、 …
git - Jenkins build
WebBut when the same build.xml is invoked via Jenkins the main project is OK, but for the submodule I get: /usr/local/git/bin/git submodule update --init --recursive returned status code 1: stdout: stderr: fatal: Needed a single revision Unable to find current revision in submodule path 'mysubmodule' WebMar 12, 2024 · Modified 2 years, 2 months ago. Viewed 10k times. 3. My repo has 3 commits. I want to squash to one. I ran git rebase -i HEAD~3 and got this error: fatal: Needed a single revision invalid upstream HEAD~3. I was able to run git rebase -i HEAD~2 and then git push origin +master and now I have 2 commits. leather purses on sale macy\u0027s
git submodule update failure - Stack Overflow
WebGit submodule Init The default behavior of git submodule init is to copy the mapping from the .gitmodules file into the local ./.git/config file. This may seem redundant and lead to … WebOct 12, 2024 · When I call. git submodule update --init --recursive --depth 50 --remote --jobs 1 for a submodule with a branch named main this works fine when I call it from local git bash while it fails when called from a GitHub CI/CD pipeline:. 13:27:13.378819 git.c:455 trace: built-in: git rev-parse --verify origin/main fatal: Needed a single revision … WebJan 26, 2024 · git submodule sync # Succeeds, but nothing happens git submodule update # Doesn't do anything git submodule update --remote # fails with Needed a single revision The subproject did correctly check out and gitk in there shows that it does indeed have the new branch that I need to switch to. how to draw a alebrijes