码迷,mamicode.com
首页 > 其他好文 > 详细

第一次将本地项目同步到git服务器

时间:2018-09-05 21:45:31      阅读:247      评论:0      收藏:0      [点我收藏+]

标签:nothing   origin   auto   creat   nbsp   osi   res   pods   host   

第一次将本地项目同步到git服务器

Last login: Mon Sep  3 09:48:44 on ttys003

localhost:~ dajiang$ cd desktop

localhost:desktop dajiang$ cd community

localhost:community dajiang$ git init

Reinitialized existing Git repository in /Users/dajiang/Desktop/community/.git/

localhost:community dajiang$ git add .

localhost:community dajiang$ git commit -m "first commit"

[master 58ac89d] first commit

 2526 files changed, 132033 insertions(+), 47 deletions(-)

 create mode 100644 Podfile

 create mode 100644 Podfile.lock

 create mode 100644 Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.h

 create mode 100644 Pods/AFNetworking/AFNetworking/AFHTTPSessionManager.m

 create mode 100644 Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.h

 create mode 100644 Pods/AFNetworking/AFNetworking/AFNetworkReachabilityManager.m

 create mode 100644 Pods/AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h

 create mode 100644 Pods/AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.m

 create mode 100644 Pods/AFNetworking/UIKit+AFNetworking/AFImageDownloader.h

 create mode 100755 community/Vender/SWQRCode/Config/SWQRCodeConfig.h

 create mode 100755 community/Vender/SWQRCode/Config/SWQRCodeConfig.m

 create mode 100755 community/Vender/SWQRCode/Config/SWQRCodeManager.h

 create mode 100755 community/Vender/SWQRCode/Config/SWQRCodeManager.m

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/Flashlight_Off@2x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/Flashlight_Off@3x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/Flashlight_On@2x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/Flashlight_On@3x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/Root.plist

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/ScannerLine@2x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/ScannerLine@3x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/en.lproj/Root.strings

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/en.lproj/saoyisao_line@2x.png

 create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/en.lproj/saoyisao_line@3x.png

 create mode 100755 community/Vender/SWQRCode/View/SWScannerView.h

 create mode 100755 community/Vender/SWQRCode/View/SWScannerView.m

 delete mode 100644 community/ViewController.m

 create mode 100755 community/tools/AF/API.h

 create mode 100755 community/tools/AF/API.m

 create mode 100755 community/tools/AF/Singleton.h

 create mode 100644 community/tools/NSString+PinYin.h

 create mode 100644 community/tools/NSString+PinYin.m

 create mode 100755 community/tools/UIButton+countDown.h

 create mode 100755 community/tools/UIButton+countDown.m

localhost:community dajiang$ git remote add origin http://192.168.16.110:9000/community/iOS.git

localhost:community dajiang$ git pull --rebase origin master

fatal: Couldn‘t find remote ref master

localhost:community dajiang$ git push -u origin master

Counting objects: 2161, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (2084/2084), done.

Writing objects: 100% (2161/2161), 85.61 MiB | 123.00 KiB/s, done.

Total 2161 (delta 504), reused 0 (delta 0)

remote: Resolving deltas: 100% (504/504), done.

To http://192.168.16.110:9000/community/iOS.git

 * [new branch]      master -> master

Branch ‘master‘ set up to track remote branch ‘master‘ from ‘origin‘.

localhost:community dajiang$ git status

On branch master

Your branch is up to date with ‘origin/master‘.

 

nothing to commit, working tree clean

localhost:community dajiang$ 

 

第一次将本地项目同步到git服务器

标签:nothing   origin   auto   creat   nbsp   osi   res   pods   host   

原文地址:https://www.cnblogs.com/-ios/p/9594039.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!