最新消息:20190717 VPS服务器:Vultr新加坡,WordPress主题:大前端D8,统一介绍入口:关于

【记录】Xcode中git打tag新建分支

Git crifan 903浏览 0评论

xcode git add tag

How to use Git Tags in Xcode | The WP Guru

GitHub – wokalski/WCGitTagsPlugin: An Xcode plugin which lets you add tagging ability to Source Control

git – Tag a commit in Xcode 6 – Stack Overflow

Xcode 7 git tag

Xcode7 git tag

都不支持。

编译运行后

会再次运行一个Xcode:

退出Xcode

重启Xcode,连最近打开的项目,都没了。。。

重启后,并没有tag功能:

再去试试,还是不行,对应log:

2016-02-22 14:27:52.360 Xcode[42852:2298417] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path ‘~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WCGitTagsPlugin.xcplugin’ not present in DVTPlugInCompatibilityUUIDs
2016-02-22 14:27:53.248 Xcode[42852:2298417] ### Failed to load Addressbook class CNContactNameFormatter
2016-02-22 14:27:54.051 Xcode[42852:2298623]  DeveloperPortal: Using pre-existing current store at URL (file:///Users/crifan/Library/Developer/Xcode/DeveloperPortal%207.2.1.db).
2016-02-22 14:27:59.665 Xcode[42852:2298417] Failed to connect (bottomToSubtitleSpacingConstraint) outlet from (DVTTableCellViewMultiLine) to (NSLayoutConstraint): missing setter or instance variable
2016-02-22 14:27:59.665 Xcode[42852:2298417] Failed to connect (topToTitleSpacingConstraint) outlet from (DVTTableCellViewMultiLine) to (NSLayoutConstraint): missing setter or instance variable
2016-02-22 14:28:57.789 Xcode[42852:2298417] Failed to connect (filterBarHeight) outlet from (IBHybridStructureViewController) to (NSLayoutConstraint): missing setter or instance variable
2016-02-22 14:28:58.571 Xcode[42852:2298417] _setHasActiveAppearance is deprecated.  Please use acquireKeyAppearance

再去试试:

算了,不折腾了。

去命令行中试试吧。

git add tag

Git – Tagging

Git 教程 – Git 基本用法 | Lugir

licrifandeMacBook-Pro:iOS-Client crifan$ ls -la
total 32
drwxr-xr-x    6 crifan  staff    204 10 27 11:40 .
drwxr-xr-x    8 crifan  staff    272  2  1 11:41 ..
-rw-r–r–@   1 crifan  staff  10244  1  6 16:36 .DS_Store
drwxr-xr-x   14 crifan  staff    476  2 22 14:32 .git
drwxr-xr-x  288 crifan  staff   9792  2 20 17:28 JianDao
-rw-r–r–    1 crifan  staff     13 10 27 11:39 README.md
licrifandeMacBook-Pro:iOS-Client crifan$ git
.DS_Store  .git/      JianDao/   README.md 
licrifandeMacBook-Pro:iOS-Client crifan$ git tag
licrifandeMacBook-Pro:iOS-Client crifan$ git tag -a v0.8 -m "basic full function version"
licrifandeMacBook-Pro:iOS-Client crifan$ git show v0,8
fatal: ambiguous argument ‘v0,8’: unknown revision or path not in the working tree.
Use ‘–‘ to separate paths from revisions, like this:
‘git <command> [<revision>…] — [<file>…]’
licrifandeMacBook-Pro:iOS-Client crifan$ git show v0.8
tag v0.8
Tagger: crifan <admin@crifan.com>
Date:   Mon Feb 22 14:39:57 2016 +0800

basic full function version

commit b5ffa39c11b1f486c4d36174e69e52ba5184ba5a
Author: crifan <admin@crifan.com>
Date:   Sat Feb 20 17:33:04 2016 +0800

    fix bug to move conversation cell not crash

 然后再去创建分支,在分支上,去做精剪功能的精简版本的v1.0

git add branch

添加和删除远程分支办公室 – Git 分支 – Gitguys

git提交本地分支到远程分支 – springbarley – 博客园

Git branch | Atlassian Git Tutorial

Git – Basic Branching and Merging

Create a new branch with git and manage branches · Kunena/Kunena-Forum Wiki · GitHub

git 创建分支

Git – 分支的新建与合并

创建与合并分支 – 廖雪峰的官方网站

Git Book 中文版 – 分支与合并@基础

多人协作 – 廖雪峰的官方网站

Xcode git branch

How To Use Git Source Control with Xcode in iOS 7 – Ray Wenderlich

在Xcode中使用Git进行源码版本控制 – CocoaChina_让移动开发更简单

先去改代码。

改好了后,commit之前,再去创建分支

licrifandeMacBook-Pro:iOS-Client crifan$ git branch
* master
licrifandeMacBook-Pro:iOS-Client crifan$ gitk
-bash: gitk: command not found
licrifandeMacBook-Pro:iOS-Client crifan$ git remote
origin
licrifandeMacBook-Pro:iOS-Client crifan$ git remote -v
origin    https://git.oschina.net/windoze/iOS-Client.git (fetch)
origin    https://git.oschina.net/windoze/iOS-Client.git (push)
licrifandeMacBook-Pro:iOS-Client crifan$ git branch
  master
* v1.0
licrifandeMacBook-Pro:iOS-Client crifan$ 

转载请注明:在路上 » 【记录】Xcode中git打tag新建分支

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
66 queries in 0.092 seconds, using 18.80MB memory