A
A
Alex Ozerov2021-07-11 17:08:21
git
Alex Ozerov, 2021-07-11 17:08:21

How to cancel a file upload to git?

In the server folder, there is a directory with downloads, I forgot to put it in gitignor, I did


git add ./server

Well, I made a commit. Then I tried to push (I haven’t seen my mistake yet), but there are files over 100 mb and of course I caught a warning and canceled the download. Then I tried git reset and git reset HEAD~, and after I put the folder with downloads in gitignor, I add the server to git again, it tries to upload a large file that no longer exists. It is important to save the changes in the code and remove the files that it tries to load from the git. How to be?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey delphinpro, 2021-07-11
@delphinpro

https://yandex.ru/search/?text=how to%20delete%20file... Clean your
turnips locally, then push with force (--force)

A
afiskon, 2013-11-16
@afiskon

Based on my personal experience, here are two good models: the first , the second . Broke the first one and replaced it with the second one. I use it mainly for reading books.

D
Daradun, 2014-12-12
@Daradun

It is no longer relevant, probably, but suddenly. Pay attention to ASUS FE375CXG.

B
Boleg2, 2013-11-25
@Boleg2

Recently I came across such a handsome man on the Web:
http://4pda.ru/forum/index.php?showtopic=492738

I
IrinkaKon, 2014-12-25
@IrinkaKon

Yep, old topic. Now I would recommend completely different models. I will support Asus, I have a FonePad FE380CG, about the same, only a more powerful processor, better cameras, and some other bells and whistles. Also a tablet (only 8 inches) with 2 sim. I really like it, I bought it a month ago for 9500 rubles, and now, due to rising prices, fonpad 7 costs more. But, I must say, the prices of competing models are also rising, so the fontpad remains the best in its price segment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question