git for Windows

Source: Internet
Author: User

How Git bash here is used

 https://gitforwindows.org/git for windows 是开源的,上传代码到gitlab ,github 非常好用的一款软件

How to use:
First create a folder, right-click


Similar to the operation under Linux

1. Next to create a user name and mailbox, if you register in the Gitlab Web interface, there is no need to operate the

 git config --global user.name”用户名(建议是英文)”  git config --global user.email”邮箱地址”

2. Create a new warehouse (you can clone from remote to local if not created locally)
Clone: Git clone Ssh://[email protected]
Gitlab two ways to link HTTP,SSH recommended http, if using SSH may error, unable to resolve the address problem
I have created a new library locally

3. Place the code you want to upload in this folder
Add a remote server side:
Git remote add Origin ssh://git.................git

4. submit file to Staging area:
git add filename/project name//If all content under the file is uploaded later.

5. Understand the submission of the staging area file:
Git commit-m ""//"" Input is the description of this upload

It should be like this without an error.

6. Push the local landlord branch to the remote:
Git push-u Origin Master

git for Windows

Related Article

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.