zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    2019.1.3 WLAN 802.11 a/b/g PHY Specification and EDVT Measurement II
    L215 Visual impairment
    2019.1.3 WLAN 802.11 a/b/g PHY Specification and EDVT Measurement I
    L213
    firewall端口放行
    数据库迁移之mysql-redis.txt
    sort
    linux注释多行
    解决Nginx+Tomcat下客户端https请求跳转成http的问题
    监控zookeeper
  • 原文地址:https://www.cnblogs.com/mlj318/p/6596173.html
Copyright © 2011-2022 走看看