Mac using pit Sourcetree encounter

  1. Invalid URL


    14106607-913b6ae11fb6081a.png
    image.png

This may be due to the following reasons

① Copy the URL is incorrect (this is generally not possible)

② The project is a private project, you may need to enter your account and password.

③ If you are using SSL mode clones, configure SSL public key

④ If the above have no problem, the next step is a very subtle one pit.

Because sourcetree cloning time is to look from the keychain cloud account code, so if you are using a mac if before someone uses it, it will look up the person's information, and you only need to remove this person account of that is in sourcetree can

16265162-99de9b60adf509ab.png
image
16265162-100a2416d9c37031.png
image

The third step is performed again after removal, you should be able to successfully cloned.

Fourth step: submission of project

I use a very crude way directly drag and drop. Open has been cloned in a local project, the project directly dragged into the box

16265162-452c203e00c322b0.png
image

Open sourcetree, double-click to open project if your project has been modified, where the plus sign will be submitted to position numbers. Presented in a way is also very simple, choose not scratch file ----> click Submit (local commit) -----> Click the pull (to pull data from a remote repository) ------> push (the local submit modified data to a remote repository)

16265162-2c20b86f0b7f0d90.png
image

Well, this time the first time to submit your project has been completed. I hope everyone has to help. Come on, everybody! ! !

  1. could not read Username for 'xxx': Device not configured

https://stackoverflow.com/questions/40274484/fatal-could-not-read-username-for-https-github-com-device-not-configured

14106607-d927a7788b9b2e48
Write pictures described here
14106607-ef2e8fee2952a131.png
image.png

Then restart Sourcetree

Guess you like

Origin blog.csdn.net/weixin_34194702/article/details/91018289