`
coolesting
  • 浏览: 12327 次
  • 性别: Icon_minigender_1
  • 来自: 广州
最近访客 更多访客>>
社区版块
存档分类
最新评论

git usage

    博客分类:
  • git
阅读更多
checkout a file from repository

git checkout HEAD^1 <filename>


or

git checkout <HASH NAME> <filename>


reset the checkout


git reset --hard <HASH NAME>



add tag

git tag -a v0.0.1 -m 'version 0.0.1'
git push origin v0.0.1
分享到:
评论

相关推荐

    git usage.docx

    git useguide

    The open Git resource pulled together by the whole community

    Next we will cover Basic Git Usage - the commands you will be using 90% of the time. These should give you a good basis to use Git comfortably for most of what you're going to use it for. This section...

    Git-UsageGit-Usage

    Git_Usage

    nogit:由js-git和node.js驱动的命令行git客户端

    用法&gt; git Usage: git [options] [command] Commands: archive [options] &lt; ref&gt; Create an archive of files from a named tree checkout &lt; ref&gt; Checkout a branch or paths to the working tree clone [options] ...

    belajar-git:使用Git学习版本控制系统的文档和实现

    #VCS #Git #HMJSI 使用Git学习版本控制系统的文档和实现教学大纲介绍版本控制系统的定义什么是GitGit概念条款使用Git(基本命令) 在CLI(命令行界面)上使用git usage: git [--version] [--help] [-C ] [-c name=...

    git--usage.zip_git使用

    git 使用简介,对于初学者很有帮组的哟

    meta-git:用于元数据的 git 插件

    Usage: meta-git [options] [command] Commands: branch List, create, or delete branches checkout Switch branches or restore working tree files clean Remove untracked files from the working tree ...

    react-kit:react (webpack)脚手架

    Usage rm -rf .git # install dependencies (c)npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build 支持: less es6/7 模块热加载 redux ...

    Pro Git, 2nd

    Pro Git (Second Edition) is your fully-updated guide to Git and its usage in the modern world. Git has come a long way since it was first developed by Linus Torvalds for Linux kernel development. It ...

    fanyi:command命令行中的翻译工具

    Usage $ [fy|fanyi] word Translation data is fetched from , and only support translation between Chinese and English. In Mac/Linux bash, words will be pronounced by say command. Translate one word. $ ...

    Git - tutorial

    This tutorial explains the usage of the distributed version control system Git via the command line. The examples were done on Linux (Ubuntu), but should also work on other operating systems like ...

    亚信java笔试题-interview-problems:这是一个收集面试问题的资源库,并提出一些解决问题的好建议。等你加入我们

    usage If you are not farmilar with git, please click the fllowing link. 参与方式 本repo中包含一个面试题的doc文档,里面题目有已经编了号。为每个问题单独建立一个文件夹,文件夹名称就是题目的编号。比如编号...

    Git Version Control Cookbook 2nd Edition

    Git is one of the most popular ... By the end of the book, you’ll have grasped various tips and tricks for everyday usage, while increasing your knowledge of Git providers, integrations, and clients.

    git internal

    help you understand Git internals as well as usage at a fundamental level by the time you finish this book. To accomplish this, I’m starting the book out (after the introduction) with a section ...

    Git Internals-eng.pdf

    My goal is to help you understand Git internals as well as usage at a fundamental level by the time you nish this book. To accomplish this, I’m starting the book out (after the introduction) with a ...

    Linux下安装和配置Git

    usage: git [--version] [--help] [-C ] [-c =] [--exec-path[=]] [--html-path] [--man-path] [--info-path] [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare] [--git-dir=] [--work-tree=...

    Mastering Git(PACKT,2016)

    Furthermore, as you progress through the book, the tutorials provide detailed descriptions of various areas of usage: from archaeology, through managing your own work, to working with other ...

    git-watch:git表

    Usage of git-watch: -check=30: git check interval -config="git-watch.yaml": git watch config 一个示例,在检测到上游更改时重新构建docker容器。 有关更多选项,请参见示例目录。 git-watch.yaml ...

    watch-git:一组脚本和配置,用于在 i3blocks 或类似工具中获取 git 状态摘要

    看-git 一组脚本和配置,用于在 i3blocks 或类似...USAGE: watch-git # =&gt; same as $cmd get all watch-git get all watch-git get name watch-git get repo watch-git set &lt;path&gt; # =&gt; name defaults to base

    SourceTree自定义操作插件-导出Git仓库选中文件

    usage: GitExport [-v/--version] [-h/--help] &lt;-repo&gt; &lt;-files&gt; [-dir] -dir &lt;导出文件的输出目录&gt; 导出Git仓库中被选中的文件的输出目录 -files &lt;file file file ...&gt; Git仓库中选中的文件 -h,--help 输出产品...

Global site tag (gtag.js) - Google Analytics