Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
pushRemote is not exclusive to gh. From man git-config (or the documentation website): branch.<name>.pushRemote When on branch <name>, it overrides branch.<name>.remote f...
#1: Initial revision
`pushRemote` is not exclusive to `gh`. From `man git-config` (or the [documentation website](https://git-scm.com/docs/git-config#Documentation/git-config.txt-branchnamepushRemote)): > * `branch.<name>.pushRemote` > > When on branch `<name>`, it overrides `branch.<name>.remote` for pushing. It also overrides `remote.pushDefault` for pushing from branch `<name>`. When you pull from one place (e.g. your upstream) and push to another place (e.g. your own publishing repository), you would want to set `remote.pushDefault` to specify the remote to push to for all branches, and use this option to override it for a specific branch.
