zoukankan      html  css  js  c++  java
  • Git 初始状操作指引

    You have an empty repository

    To get started you will need to run these commands in your terminal.

    New to Git? Learn the basic Git commands

     

    Configure Git for the first time

    git config --global user.name "Jenny Zhang"

    git config --global user.email "Jenny.Zhang@companyname.com"

     

    Working with your repository

    I just want to clone this repository

    If you want to simply clone this empty repository then run this command in your terminal.

    git clone https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git

     

    My code is ready to be pushed

    If you already have code ready to be pushed to this repository then run this in your terminal.

    cd existing-project

    git init

    git add --all

    git commit -m "Initial Commit"

    git remote add origin https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git

    git push origin master

     

    My code is already tracked by Git

    If your code is already tracked by Git then set this repository as your "origin" to push to.

    cd existing-project

    git remote set-url origin https://jzhang6@msstash.companyname.com/scm/auto/automation_test_do_jmeter.git

    git push origin master

  • 相关阅读:
    最简单的jQuery插件
    SQL执行时间
    Resharper 8.2 注册码
    Module模式
    RestSharp使用
    使用MVC过滤器保存操作日志
    Ajax Post 类实例
    IBatis分页显示
    IBatis插入类的实例
    Topcoder SRM629 DIV2 解题报告
  • 原文地址:https://www.cnblogs.com/MasterMonkInTemple/p/3747292.html
Copyright © 2011-2022 走看看