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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -