Synchronise master version of standalone file with editor contents
Source:R/use_standalone.R
sync_standalone_to_master.Rd
This file syncs the current content of the rstudio editor window with a local master standalone file, which is assumed to be in a Git directory. This allows for changes to be propagated back to the master when in active development. The master copy is committed before changes.
Usage
sync_standalone_to_master(git_dir = fs::path_home("Git"))