Skip to content

Keycode

More flesh, less fluff.

Category: git

Git push a cloned repository to a new remote repository

git remote rename origin upstream
git remote add origin NEW_REMOTE_REPOSITORY
git push origin master
Author pashanhuPosted on 17/05/2020Categories gitTags rename upstreamLeave a comment on Git push a cloned repository to a new remote repository

Recent Posts

  • Check installation path of a package using rpm
  • Check package version using rpm
  • Batch process all files in a folder
  • Count the number of files in a directory
  • Check Linux OS version

Recent Comments

No comments to show.
  • August 2025
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • August 2021
  • November 2020
  • October 2020
  • June 2020
  • May 2020
  • February 2020
  • October 2019
  • September 2019
  • August 2019
  • Algorithm
  • Boost
  • C/C++
  • Debug
  • git
  • GitHub
  • Image/Graphics
  • Java
  • Linux
  • Node.js
  • Other
  • Python
  • Qt
  • Swift
Keycode Proudly powered by WordPress