Ubuntu Upgrade Wiki should specify git reset with --recurse-submodule
See original GitHub issueUpdating all my nodes and plotters today to 1.2.0. At first, each of them ran into the issue where the RELEASE.dev0 was specified as the version after the upgrade. I attempted to remove the package.json, then re-install which also did not work.
I believe changing the upgrade command on the wiki for the “git reset” to include “–recurse-submodule” should prevent this from happening and keep the branch and all required submodules inline.
Ubuntu/Debian Update/Upgrade Section
cd chia-blockchain
. ./activate
chia stop -d all
deactivate
git fetch
git checkout latest
git reset --hard FETCH_HEAD --recurse-submodule
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How do I revert my changes to a git submodule?
Verify that you can don't see any changes when you run "git status". Next, go back to the main repository and run "git...
Read more >git-fetch Documentation - Git
Fetch branches and/or tags (collectively, "refs") from one or more other repositories, along with the objects necessary to complete their histories.
Read more >git-reset - Reset current HEAD to the specified state
git reset [<mode>] [<commit>] This form resets the current branch head to <commit> and possibly updates the index (resetting it to the tree...
Read more >Interfaces, frontends, and tools - Git SCM Wiki
TopGit (GitHub) is a patch management interface done as a set of shell scripts, which can be used to manage a set of...
Read more >Paper cut bug: Why isn't "git clone xxxx" recursive by default?
Similarly, I feel that "git pull" should automatically "git submodule update --recursive --init" as well, with the current behavior able to be specified...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this helps with clearing out the modified translation files inside chia-blockchain-gui. I have added it to the wiki. Thanks for the suggestion.
git docs indicate it is plural - however, I tested it, and either seems to work. I updated the wiki to make it plural.