git config default push destination for new branches
问题 If you create a local repository by: git init Then how to set a default remote for git push so if you create a new branch and want to git push its commits you don't need to specify the remote destination? Take into account that the local repository is not cloned form a remote and just initialized so it does not have any commits to be pushed nor branches. so far I only managed to set the remote for the master because it is the default name for the first branch but this does not solve the