• git步骤备份


    1. How to get code

    1.0 sign-in gerrit (only for the very first time)

        §  ssh-keygen -t rsa

    1.1 Nexus 7

    • repo init -u ssh://<your_ldap_id>@216.224.176.142:29418/gmpoc/manifest -m gmpoc.xml
    • repo sync
    • source build/envsetup.sh
    • lunch gm_grouper-userdebug or lunch 8
    • make -j4

    1.2 TI

    2.Modify git config and commit code

    Modify the user.name of git.

    Command: git config --global user.name <your_ldap_account>

    replace the red part with your ldap account.

    Before doing code commit checkout a branch for gmpoc/gmpoc_maindev

    Command: git checkout -b <your_local_branch> gmpoc/gmpoc_maindev

    Push command: git push gmpoc <your_local_branch>:refs/for/gmpoc_maindev

  • 相关阅读:
    2017.8.07
    2017.8.05
    2017.8.04
    2017.8.03
    2017.8.02
    2017.8.01
    2017.7.31
    2017.7.29
    2017.7.28
    简易日历
  • 原文地址:https://www.cnblogs.com/zhuqiang/p/2955007.html
Copyright © 2020-2023  润新知