MIT
MIT copied to clipboard
TODO:Add integration testing
Continuously test this series of commands and check the results during the process to ensure the overall functionality of the system is correct
mit init
mit status
echo 'a' > a.txt
echo 'b' > b.txt
echo 'config' > c.pro.user
mit status
mit add .
mit status
mit commit -m "first commit"
mit rm c.pro.user
mit restore c.pro.user --source=HEAD -SW
mit status
mit rm c.pro.user --cached
mit status
mit log
mit switch -c dev
mit branch
mit branch -D dev
mit commit -m "second"
mit switch -c dev
mit branch
echo 'dev-modify test' >> a.txt
del b.txt
mit switch master
mit add b.txt a.txt
mit status
mit commit -m "dev commit"
mit switch master