Git submodule 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. 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 …
Git submodule needed a single revision
Did you know?
WebSep 1, 2024 · A Git submodule is a feature that allows the integration of multiple independent repositories into a single project. A submodule acts as a subdirectory …
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. WebFeb 4, 2024 · fatal: Needed a single revision Unable to find current origin/master revision in submodule path 'coq_serapy' I've tried. ... Removing the folder and running: rm …
WebSep 1, 2024 · A Git submodule is a feature that allows the integration of multiple independent repositories into a single project. A submodule acts as a subdirectory within the main project directory, but the code it contains does … Web21 static struct string_list changed_submodule_paths = STRING_LIST_INIT_NODUP;
WebDec 6, 2016 · But when I did git submodule update --remote JSONedit/, I got the following errors: fatal: Needed a single revision Unable to find current origin/master revision in submodule path 'JSONedit' Does anyone know what's wrong here? 7 answers. 1 floor . tehp 43 ACCPTED 2016-12-06 04:39:52.
WebApr 29, 2024 · If you have recursive submodules, make sure your Git is recent and use --recommend-shallow to enable shallow submodules recursively, or --no-recommend-shallow to disable them. You may need to do this in two steps. I'll show this as a … grand tasting seattleWebIf you already cloned the project and forgot --recurse-submodules, you can combine the git submodule init and git submodule update steps by running git submodule update - … chinese restaurants greenfield wiWebBut 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' grand tasman tourWebMar 4, 2024 · Now, I want to update submodules to latest commits (in the remote)So I run: git submodule update --remote Which immediately failed with the following error: fatal: Needed a single revision Unable to find current origin/master revision in submodule path 'utils' After reading a lot of similar problems I could isolated the problem: : here chinese restaurants eltham vicWebJul 5, 2024 · 4. I am trying to get Jenkins working on a Windows PC and have found a weird issue with submodules. I have a git repo with three submodules. After a while it seems I got Git itself working on Jenkins so a normal clone works. However the clone does not clone the submodules inside the main repo, so I checked the box to recursively update ... grand targhee webcams ski areaWebMay 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. grand tartary mapWebDec 6, 2016 · But when I did git submodule update --remote JSONedit/, I got the following errors: fatal: Needed a single revision Unable to find current origin/master revision in … chinese restaurants hallowell me