Source code migration (Github <=> Bitbucket)
What is a BARE git repository? Understand the difference between BARE and NON-BARE repositories and learn how to migrate source code from one SCM(bitbucket) to another SCM(git) including all branches, tags and commit history. Learn cherry-pick to push specific commit to another branch. 10_commands_for_scm_migration 1.clone_old_repo.sh git clone --mirror https://github.com/tvajjala/application.git NEW 2.change_working_dir.sh cd NEW 3.make_.git_folder.sh mkdir .git 4.move_files.sh mv info/ .git/ && mv description .git/ && mv hooks/ .git/ && mv refs/ .git/ && mv objects/ .git/ && mv config .git/ && mv packed-refs .git/ && mv HEAD .git/ && mv FETCH_HEAD .git/ 5.make_non_bare.sh git config --local --bool core.bare false 6.make_it_working_repo.sh git reset --hard 7.remote_remote_origin.sh git remote rm origin 8.add_remote_origin.sh git remote add origin htt