The code submitted by SourceTree is stuck, especially when many code files are submitted at a time, it is recommended that you use Git command line to submit the code.
Git pull
Code submission: everything goes well. Because SourceTree submitted code before, git commit filename is useless here.
Complete git commands for creating a repository, adding files, submitting code, and pushing processes:
Mkdir dir
Cd dir
Git init
Touch README. md
Git add README. md
Git commit-m "first commit"
Git remote add origin https://git.oschina.net/tanteng/dir.git
Git push-u origin master
The following two Git commands can solve the problem of slow SourceTree running:
Git gc
Git prune
You can open the Git command line input window in SourceTree click command line mode. Wait a moment until the execution is completed, and the running speed of SourceTree will be improved.
Answers from netizens
Just turn off 360 and the system of window 7. After the size of disk C is too small