简体   繁体   中英

I have old commit from old assignment on git how do i get new fresh log for new commits?

I am using Pycharm. It's showing old commits from a project in another folder. I created a new project and added VCS Git to it now its show logs from my old project and its commits and its logs. I want a fresh log and a cleared up commits.

It is best to initialize a new Git repo locally in command-line first:

cd /path/to/new/folder
git init .
# Add some project files, including at least one with `__init__.py`

(see " Import directory into pycharm ")

Then import that folder into PyCharm.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM