Git uploads code to GitHub

Source: Internet
Author: User

Git upload code with github

[[email protected] ~]# git init

[[email protected] ~]# git add zeppelin

[[email protected] ~]# git commit-m "First commit"

Please tell me who is you.

Run

git config--global user.email "[Email protected]"
git config--global user.name "Your name"

To set your account ' s default identity.
Omit--global to set the identity of the This repository.

Fatal:unable to Auto-detect email address (got ' [email protected] (none)

[[email protected] ~]# git config--global user.email "***@163.com"

[[email protected] ~]# git config--global user.name "Mavennode"

[[email protected] ~]# git commit-m "First commit"

[Master fd62214] First Commit
4 files changed, 801 insertions (+)
Create mode 100644 zeppelin/build/readme.md
Create mode 100755 Zeppelin/build/pom.xml
Create mode 100644 zeppelin/rpm/readme.md
Create mode 100644 zeppelin/src/incubator-zeppelin.tar.gz

[[email protected] ~]# git status

[[email protected] ~]# git remote add Origin https://github.com/Hadoop/bigcrh.git
[[email protected] ~]# git push-u origin Master
Password for ' https://[email protected] ':
Counting Objects:11, done.
Delta compression using up to 8 threads.
Compressing objects:100% (8/8), done.
Writing objects:100% (10/10), 38.26 MiB | 20.00 kib/s, done.bjects:90% (9/10), 10.89 MiB | 4.00 kib/s
Total (delta 0), reused 0 (Delta 0)
To Https://[email Protected]/hadoop/bigcrh.git
9f4a91d. fd62214 Master, Master
Branch Master set up to track remote Branch master from Origin.

Git uploads code to GitHub

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.