Solution to the slow running of SOURCETREE

Source: Internet
Author: User
Tags commit git commands sourcetree

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.

Pass:

Git status

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.