• xcode,git tips


    • change organization name

    选中project or target,最右侧Utilities面板->Project Document

    • 修改source folder名字

    --

       -ProjectA.xcodeproj

       -ProjectA

    右侧Utilities面板修改ProjectA to ProjectB.

    左侧选择ProjectA文件夹,右侧Utilities面板修改location下的文件夹为ProjcetB(预先copy ProjectA to ProjectB)

    同时修改plist路径,选中target->Identify-> choose the Plist. 否则会报错找不到plist.

    • 删除git仓库
        find . -name ".git" | xargs rm -Rf
    
    • 新建git 仓库

                   $ git init     

                   $ git add .    

                   $ git commit    

     

    • xcode missing file warnings

    file: warning: Missing file:  is missing from working copy

    cd "project folder path"
    git add .
    restart project

    • 本地暂时不想提交,只update某个目录:

    $ git fetch

    remote: Counting objects: 22, done

    remote: Finding sources: 100% (14/14)

    remote: Getting sizes: 100% (11/11)

    remote: Total 14 (delta 10), reused 14 (delta 10)

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

    From http:

       be275eb..6b44278  master     -> origin/master

    $ git checkout -m 6b44278 xx/tracker/

    • pull submodule

    git submodule init

    git submodule update

  • 相关阅读:
    同类分布[AHOI2009]
    简单记录一下ruby 循环
    ruby中的respond to ?用法
    ruby中的return方法及class实例方法的initialize方法
    ruby中的字符串分隔符--split
    三次握手+四次挥手
    DNS服务器的简介——2
    HTTP-报文结构解析
    ruby中的三目操作符和include?操作
    ruby中的extend 和 include
  • 原文地址:https://www.cnblogs.com/mlj318/p/6596173.html
Copyright © 2020-2023  润新知