1. 程式人生 > >第一次將本地項目同步到git服務器

第一次將本地項目同步到git服務器

codec tool delta total pre gin cache network string

第一次將本地項目同步到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/[email protected]

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/[email protected]

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/[email protected]

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/[email protected]

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

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/[email protected]

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/[email protected]

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

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/en.lproj/[email protected]

create mode 100755 community/Vender/SWQRCode/SWQRCode.bundle/en.lproj/[email protected]

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服務器