intellij idea - What Git '--progress' flag is for and how to use it -
today have noticed in ide (intellij) when 'commit , push' ide level can see in version control output tab intellij using following command:
git push --progress origin storybrancha:storybrancha
i wonder how can use 'progress' flag outside of ide, there nice usage explained somewhere cannot find flag, , why ide specifying branch commit storybrancha:storybrancha
, not simply
git push --progress origin storybrancha
regards kris
the man page git push
seems have documented flag:
--progress
progress status reported on standard error stream default when attached terminal, unless
-q
specified. flag forces progress status if standard error stream not directed terminal.
since intellij not launching program under terminal, it’s asking git report progress anyway.
the reason specifying both local , remote refspec on git push
command line never optimized case when both sides same. storybrancha
equivalent storybrancha:storybrancha
. possible have branch named 1 way locally, , way remotely. in case, you'd see storybrancha:someotherref
on command line.
you don't want use git push
blindly because settings may have git push
setup push tracking branches, rather single branch intended.
Comments
Post a Comment