zoukankan      html  css  js  c++  java
  • 第一次将本地项目同步到git服务器

    第一次将本地项目同步到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$ 

  • 相关阅读:
    OGNL和Struts2标签
    Struts2中使用Servlet API步骤
    Struts2配置详解
    Strust的基础情况
    分页套用
    删除(注意,删除后,后面顶上去,所以id会一直变,所以我们用class来定义,因为id是唯一的)
    搭建SpringMVC+Mybatis框架并实现数据库的操作
    使用映射接口实现数据库的操作
    django 路由系统
    http协议
  • 原文地址:https://www.cnblogs.com/-ios/p/9594039.html
Copyright © 2011-2022 走看看