git上传代码带github
[[email protected] ~]# git init
[[email protected] ~]# git add zeppelin
[[email protected] ~]# git commit -m "first commit"
*** Please tell me who you are.
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 only in 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 10 (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.