• 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

  • 相关阅读:
    springboot之scheduled任务调度
    nginx部署与安装
    hive 导出如数为csv格式
    hive函数应用之操作json
    解决Azure 消息队列ServiceBus提示证书不信任无权限的问题
    读书笔记--《不能承受的生命之轻》读后感
    localhost和127.0.01 区别
    C# 利用反射动态加载dll
    .NET MVC 简单的插件式开发
    爬虫发起抓取被服务器拒绝访问返回403禁止访问解决方案
  • 原文地址:https://www.cnblogs.com/mlj318/p/6596173.html
Copyright © 2020-2023  润新知