TLDR
Enter a command. For example: git checkout, git mergetool.

git rename-remote

 
Change remote for pulling and pushing. Part of git-extras. More information: https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-remote.
 
  • Change the upstream remote to origin:
     
    git rename-remote {{upstream}} {{origin}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.