U
U
user_of_toster2021-04-23 12:17:56
git
user_of_toster, 2021-04-23 12:17:56

Where does git push go?

If you do git pushwithout origin mybranchin the branch mybranch, can you always be sure that everything will be pushed in exactly in mybranch?

Reading https://git-scm.com/docs/git-push

When the command line does not specify what to push with ... arguments or --all, --mirror, --tags options, the command finds the default by consulting remote.*.push configuration,


How to find remote.*.push configuration? Google didn't help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2021-04-23
@user_of_toster

Look at the command output

$ git config --list
$ git config --list --local

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question