neuralet icon indicating copy to clipboard operation
neuralet copied to clipboard

Extract smart-distancing to https://github.com/neuralet/smart-social-distancing

Open mohammad7t opened this issue 5 years ago • 4 comments

Steps:

  • [x] move commits
  • [x] fix paths in configs
  • [ ] move issues
  • [ ] move pull requests
  • [ ] remove files in applications/smart-distancing and put a link to new repo in README.md

mohammad7t avatar May 20 '20 15:05 mohammad7t

PR for fixing paths: https://github.com/neuralet/smart-social-distancing/pull/2

mohammad7t avatar May 20 '20 20:05 mohammad7t

Moved commits using the following scripts:

git subtree split -P applications/smart-distancing -b develop
cd ../smart-social-distancing
git init
git pull ../neuralet develop

mohammad7t avatar May 20 '20 20:05 mohammad7t

Thanks @mhsekhavat we needed this so badly :D

mhejrati avatar May 20 '20 21:05 mhejrati

In order to move a branch from this repo to the new repo, you can follow this procedure:

OLD_REPO="$PWD/neuralet"  # CHANGE IT to the absolute path of cloned neuralet repo
NEW_REPO="$PWD/smart-social-distancing"  # CHANGE IT to the absolute path of cloned new repo (if it is not already cloned, please clone it first.)
BRANCH='ui-skelton'  # CHANGE IT to the name of the branch you want to move

cd $OLD_REPO
git checkout $BRANCH
git subtree split -P applications/smart-distancing -b "splitted-$BRANCH"
cd $NEW_REPO
git fetch
git checkout origin/neuralet-master -b $BRANCH
git pull $OLD_REPO "splitted-$BRANCH"

mohammad7t avatar May 21 '20 15:05 mohammad7t