iOS开发中将项目托管到osChina

来源:互联网 发布:centos 删除当前用户 编辑:程序博客网 时间:2024/05/10 12:24

Last login: Mon May 16 13:51:08 on ttys000

BYDdeMac-mini:~ DR$ cd /Users/byd/Desktop/testT 

BYDdeMac-mini:testT DR$ git init

Initialized empty Git repository in /Users/byd/Desktop/testT/.git/

BYDdeMac-mini:testT DR$ git remote add origin https://git.oschina.net/ccpeng/testTongXunLu.git

BYDdeMac-mini:testT DR$ git clone https://git.oschina.net/ccpeng/testTongXunLu.git

Cloning into 'testTongXunLu'...

remote: Counting objects: 4, done.

remote: Compressing objects: 100% (3/3), done.

remote: Total 4 (delta 0), reused 0 (delta 0)

Unpacking objects: 100% (4/4), done.

Checking connectivity... done.

BYDdeMac-mini:testT DR$ cd /Users/byd/Desktop/testT/testTongXunLu 

BYDdeMac-mini:testTongXunLu DR$ git status

On branch master

Your branch is up-to-date with 'origin/master'.

Untracked files:

  (use "git add <file>..." to include in what will be committed)


testTongxulu/


nothing added to commit but untracked files present (use "git add" to track)

BYDdeMac-mini:testTongXunLu DR$ git add testTongxulu/

BYDdeMac-mini:testTongXunLu DR$ git status

On branch master

Your branch is up-to-date with 'origin/master'.

Changes to be committed:

  (use "git reset HEAD <file>..." to unstage)


new file:   testTongxulu/testTongxulu.xcodeproj/project.pbxproj

new file:   testTongxulu/testTongxulu.xcodeproj/project.xcworkspace/contents.xcworkspacedata

new file:   testTongxulu/testTongxulu/AppDelegate.h

new file:   testTongxulu/testTongxulu/AppDelegate.m

new file:   testTongxulu/testTongxulu/Assets.xcassets/AppIcon.appiconset/Contents.json

new file:   testTongxulu/testTongxulu/AuthcodeView.h

new file:   testTongxulu/testTongxulu/AuthcodeView.m

new file:   testTongxulu/testTongxulu/Base.lproj/LaunchScreen.storyboard

new file:   testTongxulu/testTongxulu/Info.plist

new file:   testTongxulu/testTongxulu/PersonModel.h

new file:   testTongxulu/testTongxulu/PersonModel.m

new file:   testTongxulu/testTongxulu/TestTableViewController.h

new file:   testTongxulu/testTongxulu/TestTableViewController.m

new file:   testTongxulu/testTongxulu/main.m

new file:   testTongxulu/testTongxuluTests/Info.plist

new file:   testTongxulu/testTongxuluTests/testTongxuluTests.m

new file:   testTongxulu/testTongxuluUITests/Info.plist

new file:   testTongxulu/testTongxuluUITests/testTongxuluUITests.m


BYDdeMac-mini:testTongXunLu DR$ git commit testTongxulu/ -m"fjfjajiijo"

[master f929927] fjfjajiijo

 18 files changed, 1240 insertions(+)

 create mode 100644 testTongxulu/testTongxulu.xcodeproj/project.pbxproj

 create mode 100644 testTongxulu/testTongxulu.xcodeproj/project.xcworkspace/contents.xcworkspacedata

 create mode 100644 testTongxulu/testTongxulu/AppDelegate.h

 create mode 100644 testTongxulu/testTongxulu/AppDelegate.m

 create mode 100644 testTongxulu/testTongxulu/Assets.xcassets/AppIcon.appiconset/Contents.json

 create mode 100644 testTongxulu/testTongxulu/AuthcodeView.h

 create mode 100644 testTongxulu/testTongxulu/AuthcodeView.m

 create mode 100644 testTongxulu/testTongxulu/Base.lproj/LaunchScreen.storyboard

 create mode 100644 testTongxulu/testTongxulu/Info.plist

 create mode 100644 testTongxulu/testTongxulu/PersonModel.h

 create mode 100644 testTongxulu/testTongxulu/PersonModel.m

 create mode 100644 testTongxulu/testTongxulu/TestTableViewController.h

 create mode 100644 testTongxulu/testTongxulu/TestTableViewController.m

 create mode 100644 testTongxulu/testTongxulu/main.m

 create mode 100644 testTongxulu/testTongxuluTests/Info.plist

 create mode 100644 testTongxulu/testTongxuluTests/testTongxuluTests.m

 create mode 100644 testTongxulu/testTongxuluUITests/Info.plist

 create mode 100644 testTongxulu/testTongxuluUITests/testTongxuluUITests.m

BYDdeMac-mini:testTongXunLu DR$ git status

On branch master

Your branch is ahead of 'origin/master' by 1 commit.

  (use "git push" to publish your local commits)

nothing to commit, working directory clean

BYDdeMac-mini:testTongXunLu DR$ git push 

warning: push.default is unset; its implicit value has changed in

Git 2.0 from 'matching' to 'simple'. To squelch this message

and maintain the traditional behavior, use:


  git config --global push.default matching


To squelch this message and adopt the new behavior now, use:


  git config --global push.default simple


When push.default is set to 'matching', git will push local branches

to the remote branches that already exist with the same name.


Since Git 2.0, Git defaults to the more conservative 'simple'

behavior, which only pushes the current branch to the corresponding

remote branch that 'git pull' uses to update the current branch.


See 'git help config' and search for 'push.default' for further information.

(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode

'current' instead of 'simple' if you sometimes use older versions of Git)


Counting objects: 28, done.

Delta compression using up to 4 threads.

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

Writing objects: 100% (28/28), 12.82 KiB | 0 bytes/s, done.

Total 28 (delta 3), reused 0 (delta 0)

To https://git.oschina.net/ccpeng/testTongXunLu.git

   db9cb64..f929927  master -> master

BYDdeMac-mini:testTongXunLu DR$ 

1 0
原创粉丝点击