Updating the github version

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By skelder

I have compiled the 3.x branch and master branch to preview some bugfixes and additional features.

Now that I have these 2 versions I was wondering how can i update them.

Is it ok to just rerun scons after refreshing/pulling new commits from the github?

or do i have to re-clone the repository to be safe?

:bust_in_silhouette: Reply From: omggomb

No reclone needed, I regularly pull and recompile the master branch and apart from one instance a year ago, nothing bad happened. Back then the compile would fail because some generated files missmatched. Using git clean -xdf and then compiling again did the trick though.

git clean -xdf:

  • Remove untracked files from the working tree
  • x also remove ignored files
  • d recurse into directories
  • f force (use with caution obviously)

It’s like cloning again without having to redownload it :-).