git 常用的东西!
来源:互联网 发布:支付宝软件 编辑:程序博客网 时间:2024/06/07 09:15
Last login: Fri Mar 18 04:35:35 on ttys000
bogon:~ mac$ git config --global user.name "梦想之树"
bogon:~ mac$ git config --global user.email "960462916@qq.com"
bogon:~ mac$ cd /Users/mac/Documents/zhanxin/code
bogon:code mac$ git clone https://git.oschina.net/dreamsuccess/zhanxin.git
Cloning into 'zhanxin'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
Checking connectivity... done.
bogon:code mac$ git commit -am "删除文件"
fatal: Not a git repository (or any of the parent directories): .git
bogon:code mac$ git commit -am "ddd"
fatal: Not a git repository (or any of the parent directories): .git
bogon:code mac$ ls
zhanxin
bogon:code mac$ cd zhanxin
bogon:zhanxin mac$ git commit -am "删除文件"
[master a21c429] 删除文件
1 file changed, 1 deletion(-)
delete mode 100644 README.md
bogon:zhanxin mac$ git commit -am "添加文件"
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" topublish your local commits)
Untracked files:
.DS_Store
zhanxin.xcodeproj/
zhanxin/
zhanxinTests/
zhanxinUITests/
nothing added to commit but untracked files present
bogon:zhanxin mac$ git push origin master
Counting objects: 2, done.
Writing objects: 100% (2/2), 217 bytes | 0 bytes/s, done.
Total 2 (delta 0), reused 0 (delta 0)
To https://git.oschina.net/dreamsuccess/zhanxin.git
f1f1883..a21c429 master -> master
bogon:zhanxin mac$ git pull
Already up-to-date.
bogon:zhanxin mac$ git add .
bogon:zhanxin mac$ git commit -am "新建工程"
[master a7adea8] 新建工程
19 files changed, 1085insertions(+)
create mode 100644 .DS_Store
create mode 100644zhanxin.xcodeproj/project.pbxproj
create mode 100644zhanxin.xcodeproj/project.xcworkspace/contents.xcworkspacedata
create mode 100644zhanxin.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate
create mode 100644zhanxin.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
create mode 100644zhanxin.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/zhanxin.xcscheme
create mode 100644zhanxin/AppDelegate.h
create mode 100644zhanxin/AppDelegate.m
create mode 100644zhanxin/Assets.xcassets/AppIcon.appiconset/Contents.json
create mode 100644zhanxin/Base.lproj/LaunchScreen.storyboard
create mode 100644zhanxin/Base.lproj/Main.storyboard
create mode 100644zhanxin/Info.plist
create mode 100644zhanxin/ViewController.h
create mode 100644zhanxin/ViewController.m
create mode 100644 zhanxin/main.m
create mode 100644zhanxinTests/Info.plist
create mode 100644zhanxinTests/zhanxinTests.m
create mode 100644zhanxinUITests/Info.plist
create mode 100644zhanxinUITests/zhanxinUITests.m
bogon:zhanxin mac$ git push origin master
Counting objects: 33, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (28/28), done.
Writing objects: 100% (33/33), 16.86 KiB | 0 bytes/s, done.
Total 33 (delta 1), reused 0 (delta 0)
To https://git.oschina.net/dreamsuccess/zhanxin.git
a21c429..a7adea8 master -> master
bogon:zhanxin mac$
- git 常用的东西!
- git相关的东西
- 一些常用的东西
- 常用到的东西
- mysql常用的东西
- 关于git的一些东西
- JPA 一些常用的东西
- php常用的一些东西
- JavaScript常用的一些东西
- iOS开发常用的东西
- 一些关于Git 分支的东西
- 从源码安装git 缺少的东西
- 【git】常用的git命令
- 常用东西
- 一些基础的常用的东西
- 电脑中常用的东西备份
- javascript常用到的东西(珍藏)
- 转载一些HIbernate常用的东西
- java 数组
- 练习1-b
- C语言小结3
- python的列表(一)
- 《深入浅出数据分析》笔记一
- git 常用的东西!
- JSONObject、JSONArray
- 55.EasyCountDownTextureView
- 停止JQuery Ajax请求
- iOS xib创建tableViewController顶部留白问题
- Thinking in java 笔记1
- Android开发入门与实战之Android应用安装卸载
- leetcode-- Invert Binary Tree
- Qt_几个错误