question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ubuntu Upgrade Wiki should specify git reset with --recurse-submodule

See original GitHub issue

Updating 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:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
emlowecommented, Jul 30, 2021

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.

0reactions
emlowecommented, Jul 30, 2021

git docs indicate it is plural - however, I tested it, and either seems to work. I updated the wiki to make it plural.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found