---
title: "git"
author: "scholltop"
date: "2019-05-05T18:26:30Z"
tags: []
categories: ["企业架构"]
slug: "git"
draft: false
lastmod: "2019-05-05T18:26:30Z"
id: 2440647
url: "https://schooltop.iteye.com/blog/2440647"
---

git tag — 标签相关操作

http://blog.csdn.net/wangjia55/article/details/8793577/


git tag v2.1.205
git push origin v2.1.205


git show commit-id

git show commit-id filename
查看某次提交中的某个文件变化


1.查看某个文件的修改历史
命令： git blame filename1 （显示每一行的最后提交



gem file  路劲指定：

gem 'the_trade', path: '/Users/jamst/the_trade'

gem 'the_trade', github: 'whmall/the_trade', tag: 'v2.1.182'