diff --git a/README.md b/README.md index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6fdbd874ea71398824ecc5822ba64ccf86eb9f98 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,26 @@ +```{bash} + +NEW_DEPOT=git@gitbio.ens-lyon.fr:LBMC/team/project_name.git + +NEW_NAME=$(basename $NEW_DEPOT) +NEW_NAME=${NEW_NAME/.git} + +git clone git@gitbio.ens-lyon.fr:crey02/minimal_git_repo.git +git clone $NEW_DEPOT + +rm -fr minimal_git_repo/.git +mv $NEW_NAME/.git minimal_git_repo/ +rm -r $NEW_NAME + +mv minimal_git_repo $NEW_NAME +cd $NEW_NAME + +rm README.md +touch README.md + +git add -f * .gitignore +git commit -m "initial commit" + +git push + +```