G
G
Grishan Trudovik2017-04-24 19:34:30
git
Grishan Trudovik, 2017-04-24 19:34:30

How to remove all commits except the last one?

When cloning a repository. It clones with chunks of old commits.
You need to make sure that by clicking Clone or Download=> download .zip
only those files (that assembly) that was last pushed into the repository are copied.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2017-04-24
@BuriK666

git clone --depth=1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question