“Czy istnieje jakaś różnica między Git Push a Git Push Origin Master” Kod odpowiedzi

Czy istnieje jakaś różnica między Git Push a Git Push Origin Master

git push assumes that you already have a remote repository defined for that
branch. In this case, the default remote origin is used.
git push origin master indicates that you are pushing to a specific remote,
in this case, origin.
This would only matter if you created multiple remote repositories in your code
base. If you're only committing to one remote repository (in this case, just
your GitHub repository), then there isn't any difference between the two.
Glorious Goat

Jaka jest różnica między Originem Git Push a Git Push Origin Master

//push all branches to origin
git push origin

//push master branch to origin
git push origin master
Old-fashioned Opossum

Odpowiedzi podobne do “Czy istnieje jakaś różnica między Git Push a Git Push Origin Master”

Pytania podobne do “Czy istnieje jakaś różnica między Git Push a Git Push Origin Master”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu