Tortoisegit creating a local library and committing to a remote server

Source: Internet
Author: User

The first half of the reference online example: http://www.showerlee.com/archives/1300, but will appear"git  did  not Exit cleanly (ExitCode 128) "Error

1. Create a new directory on the D drive, such as "D:\Git", and go to the directory right-click directory to select "Git Create repository here ..." and pop-up the dialog to confirm that a local Git repository is created.


2. In the warehouse directory to create a test project text file, right-click the directory blank, select Git Commit, "Master" ..., in the Pop-up dialog box, enter the prompt comment, select the version control file to join, OK to submit.


3. Now just use Git to manage the project locally, if the interface shows success is successful, then click Push ... to submit our changes to the GIT server.

4. The Push dialog box pops up and the current branch is named Master in the Ref-remote bar, then click the Manage button in the Destination-remote bar.

5. In the Popup Settings dialog box, follow, fill in the server remote name, URL ([email protected]:root/tesproject.git), previously saved local private key TESTKEY.PPK, click Add new/ The Save button saves this setting and then clicks OK to exit the dialog box before returning.


6. Final confirmation of submission


7.push success

8. This will appear"git  did  not Exit cleanly (ExitCode 128) "Error, Workaround: Create the Testproject.git on the remote server and then in the push project. That is, add engineering and permissions to the gitolite-admin/conf/gitolite.conf file and push to the remote server.

Tortoisegit creating a local library and committing to a remote server

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.