cd /path/to/your/git/repo/ git remote -v git remote rm origin git remote add origin ssh://abc@gmail.com:8266/git/new/repo scp -p -P 8266 abc@gmail.com:hooks/commit-msg .git/hooks/ git push -u origin --all git push -u origin --tags
cd /path/to/your/git/repo/ git remote -v git remote rm origin git remote add origin ssh://abc@gmail.com:8266/git/new/repo scp -p -P 8266 abc@gmail.com:hooks/commit-msg .git/hooks/ git push -u origin --all git push -u origin --tags