Git for windows+tortoisegit client use

Source: Internet
Author: User
Tags gpg git client

First, install the Git client

All installations are by default!

1. Installation Support software: Https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git

Select All:

Choose the third item using the UNIX command: Run git and included UNIX tools from Windows command prompt

Select the first item: Check out CRLF->LF, check in Lf->crlf

To install Git for Windows, use the C:\Program Files (x86) \git\bin Directory Command tool:

Antiword.exe
Astextplain
Awk
Basename.exe
Bash.exe
Bison.exe
Bunzip2
Bzip2.exe
C_rehash
Cat.exe
Chmod.exe
Clear
Cmp.exe
Connect.exe
Cp.exe
Curl-ca-bundle.crt
Curl.exe
Cut.exe
Date.exe
Diff.exe
Dirname.exe
Docx2txt
Dos2unix.exe
Du.exe
Echo
Egrep
Env.exe
Expr.exe
False.exe
Find.exe
Flex.exe
Gawk.exe
Getcp.exe
Git.exe
Gitk
Gpg-zip
Gpg.exe
Gpgkeys_curl.exe
Gpgkeys_finger.exe
Gpgkeys_hkp.exe
Gpgkeys_ldap.exe
Gpgsplit.exe
Gpgv.exe
Grep.exe
Gunzip.exe
Gzip.exe
Hd2u.exe
Head.exe
Iconv.exe
Id.exe
Kill.exe
Less.exe
LibW11.dll
Libapr-0-0.dll
Libaprutil-0-0.dll
Libcrypto.dll
Libcurl.dll
Libexpat-0.dll
Libgsasl-7.def
Libgsasl-7.dll
Libiconv-2.dll
Libintl-8.dll
Libneon-25.dll
Libpoppler-7.dll
Libssl.dll
Libsvn_client-1-0.dll
Libsvn_delta-1-0.dll
Libsvn_diff-1-0.dll
Libsvn_fs-1-0.dll
Libsvn_fs_fs-1-0.dll
Libsvn_ra-1-0.dll
Libsvn_ra_dav-1-0.dll
Libsvn_ra_local-1-0.dll
Libsvn_ra_svn-1-0.dll
Libsvn_repos-1-0.dll
Libsvn_subr-1-0.dll
Libsvn_swig_perl-1-0.dll
Libsvn_wc-1-0.dll
Libz.dll
Ln.exe
Ls.exe
M4.exe
Md5sum.exe
Mkdir.exe
Msmtp.exe
Msys-1.0.dll
Msys-crypto-1.0.0.dll
Msys-minires.dll
Msys-perl5_8.dll
Msys-regex-1.dll
Msys-ssl-1.0.0.dll
Msys-z.dll
Msysltdl-3.dll
Mv.exe
Openssl.exe
Patch.exe
Patch.exe.manifest
Pdfinfo.exe
Pdftotext.exe
Perl.exe
Printf
Ps.exe
PthreadGC2.dll
Pwd
Rebase.exe
Recodetree
Rm.exe
Rmdir.exe
Rxvt.exe
Scp.exe
Sed.exe
Sh. Visualelementsmanifest.xml
Sh.exe
Sleep.exe
Sort.exe
Split.exe
Ssh-add.exe
Ssh-agent.exe
Ssh-keygen.exe
Ssh-keyscan.exe
Ssh.exe
Start
Tail.exe
Tar.exe
Tcl85.dll
Tclpip85.dll
Tclsh.exe
Tclsh85.exe
Tee.exe
Tk85.dll
Touch.exe
Tr.exe
True.exe
Txt.txt
Uname.exe
Uniq.exe
Unix2dos.exe
Unzip.exe
Vi
Vim
Vimtutor
Wc.exe
which
Wish. Visualelementsmanifest.xml
Wish.exe
Wish85.exe
Xargs.exe
Yacc

2. Installing Tortoisegit

First, you install Windows Installer 4.5.

Then, install Tortoisegit-1.8.8.0-32bit.msi (currently the latest version)

Finally, install the Tortoisegit Chinese language pack

Tortoisegit-languagepack-1.8.7.0-32bit-zh_cn.msi

Second, the configuration, use Tortoisegit

1. Set to Chinese interface

2. Build the Repository

Right-click on any empty folder and select "Git here to create repository"

3. Clone Library

Right-click on the folder above and select "Pull"

(1) Managing the remote

Figure 2-3-1-1

Figure 2-3-1-2

Where the URL is the git address of the remote repository

Note that you must change the "localhost" to an IP address, otherwise the following error will occur: Git did not exit cleanly (exit code 128)

(2) Generate PPK file

From the Start menu, select "PuttyGen" in "Tortoisegit"

Click "Generate" button, then, the mouse in the image of the red box in the area of the movement, you can generate a key.

Click the "Save private Key" button to save the generated key as a PPK file.

Determine the build.

Save to the address in Figure 2-3-1-2

(3) Complete Clone library

4. Submit a local repository

The newly created file icon in the local repository is

(1) Add to local library

Right click on the marked file, select "Add"

At this point, the file icon changes to indicate success in adding to the local library.

(2) Submit to local library

Right-click on the marked file, select "Git commit (C) ....", "Master" ... "

A prompt will appear, setting the user name and mailbox.

Set the user name, mailbox, and signing key (PPK file)

Enter the log information to complete the submission.

5. Push local library to server

If all the folders and files are icons , then we can push the local library to the version server.

In the root directory of the local repository (D:\MYDOC13\SSFC), right-click, select "Tortoisegit"-〉 "Push"

Complete the push.

------------------------------------------Xiaobin_ Hlj80-----------------------------------------------Full-text end------------------------------

FAQ:

1. About: User name and email

The user name and mailbox are assigned by the version server. Is that we set up the user name and mailbox on the version server and then use it on the client.

2. Cancel the last "Commit" action

Right-click the Git Library folder, select the "Git" tab, click on the "Show Log" button, select the location to roll back, and right-click to select "Reset" Master to ... "

Click "OK" to complete the cancel operation.

Git for windows+tortoisegit client use

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.