I have a remote repository, and then I clone it locally and submit it many times locally.
there are many pictures in the submission history (various deletions and corrections).
I would like to ask, if I push, will deleted images (once commit to the local warehouse) be recorded and submitted?
is there any way to discard all past commit records while keeping the current warehouse status?
my actions are as follows
-
clone
remote warehouse to local - add a bunch of pictures to the local warehouse,
add
and thencommit
to the local warehouse - the local warehouse deleted the picture,
add
and thencommit
to the local - at this time I
push
, will the image added in step 2 be submitted to the remote repository?