What happens if you interrupt a Git push? -


i ran following command:

git push -u origin master 

the "push" big, many files, taking time upload. halfway through noticed forgot add couple of files. did "ctrl + c" in terminal (interrupting git), , after doing git add . , committed again, , pushed again.

will git know first 1 didn't go through ? takes long time push (so can't test easily. have wait push finish take while).

edit: hooray! nothing seems have gone terribly wrong. did push again, , works. :{

the upstream git repository oblivious attempted push, , no change occur upstream. unfortunately however, doesn't half-pushed files, doesn't store , expect continuation of push later on either. it's either push or don't push, there no try;)


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -