git常用命令

in tools with 5 comments

GIT常用命令

jishuzhan.jpg

克隆仓库

git clone https://git.redith.com/redith.git

查看当前状态

git status

branch.jpg

新建分支

git checkout -b dev

切换分支

git checkout dev

拉取代码

git pull
或者
git pull origin master

提交代码

git push origin master

打tag

git tag -a v1.0 -m "tag v1.0"

stash

git stash

unstash

git stash pop

欲学习更详细的指令,参见:https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000

Responses
  1. 欢迎加入 Typecho 大家族

    Reply
  2. Smooth Parcel has the best rates http://www.smoothparcel.com email helen@smoothparcel.com to get a rate quote for your small parcel deliveries to Europe.
    电子邮件helen@smoothparcel.com获取您的小包裹交付到欧洲的价格报价

    Reply
  3. 在 https://zolango.com 买卖交易,以比特币收付,可以最简易、最迅速地帮助把产品兑换成国际自由流通比特币。

    Hi,

    I would like to purchase your product please sell it on https://zolango.com where there is a whole niche of customers just waiting to pay in BitCoin.

    https://zolango.com is The Home of CryptoCommerce.

    Reply
  4. Hello! redith.com

    We make offer for you

    Sending your message through the feedback form which can be found on the sites in the Communication partition. Contact form are filled in by our software and the captcha is solved. The superiority of this method is that messages sent through feedback forms are whitelisted. This method raise the probability that your message will be open.

    Our database contains more than 25 million sites around the world to which we can send your message.

    The cost of one million messages 49 USD

    FREE TEST mailing of 50,000 messages to any country of your choice.

    This message is automatically generated to use our contacts for communication.

    Contact us.
    Telegram - @FeedbackFormEU
    Skype FeedbackForm2019
    WhatsApp - +44 7598 509161
    Email - FeedbackForm@make-success.com

    Reply
  5. Here is a well-mannered promoting in tract of you. redith.com
    http://bit.ly/2NIudFZ

    Reply