最新文章列表

git 如何回滚远程仓库版本

  前言: 使用git管理项目开发的过程中经常会碰到这种情况:某次提交已经push到了远程仓库,可是突然需要回退代码,怎么将远程代码库回滚呢? 不推荐这样做:在网上看到大部分人给出的解决方案是先将本地回滚,然后删除远程分支,之后再将本地的分支push到远程仓库,这其实是一种很危险的方案,毕竟直接删除远程分支太危险。 关于远程仓库回滚 首先,必须要明白的一件事,任何普通用户不能擅自做有关远 ...
zl378837964 评论(0) 有15862人浏览 2016-08-03 13:13

使用tar打包程序文件时,去除其中版本控制文件的方法

tar --exclude-vcs -cf archive.tar foo 可以使打包生成的文件不包含版本控制信息
openwrt 评论(0) 有873人浏览 2015-07-01 01:16

Git与Svn之异同(三.详细介绍不同之处)

摘要Svn是目前得到大多数人认可,使用得最多的版本控制管理工具,而Git的优势在于易于本地增加分支和分布式的特性,可离线提交,解决了异地团队 ...
zyjustin9 评论(0) 有3236人浏览 2014-02-11 21:32

Git与Svn之异同(一.五个基本区别)

如果你在读这篇文章,说明你跟大多数开发者一样对GIT感兴趣,如果你还没有机会来试一试GIT,我想现在你就要了解它了。 GIT不仅仅是个版本控制系统,它也是个内容管理系统(CMS),工作管理系统等。如果你是一个具有使用SVN背景的人,你需要做一定的思想转换,来适应GIT提供的一些概念和特征。所以,这篇文章的主要目的就是通过介绍GIT能做什么、它和SVN在深层次上究竟有什么不同来帮助你认识它。 那 ...
zyjustin9 评论(0) 有967人浏览 2014-02-11 21:29

Git与Svn之异同(二.简明概要)

自从有了git,很多开源项目都转移到了git。对于我们初学版本管理的人来说,git和SVN究竟有什么不同的地方呢?最近粗略了解了下git,并与SVN做了一番比较,大概结果如下: SVN VS git 一,集中式 VS 分布式 SVN是典型的C/S模式的集中式管理。客户端直接对服务端做各种操作。而git则大不相同,他是分布式的,而且我们使用git命令大多数时候,只是在本地进行操作。当本地的内容完成 ...
zyjustin9 评论(0) 有1004人浏览 2014-02-11 21:26

Veritas cluster Agents (VCS agents)

http://www.unixarena.com/2012/06/vcs-switch-over-issue-due-to-failed.html VCS agents: VCS agent use to communicate to the HAD (high availability daemon) with all the configuration and attributes.For ...
vcs 
rooi 评论(1) 有1377人浏览 2013-06-19 00:40

Git分布式版本管理系统常用命令扫盲篇

前段时间看下Git这种分布式版本管理技术,感觉比SVN,VSS之类的VCS有很多可取之处,下面介绍了下Git如何在Widows下使用,以及一些Git常用操作基本命令;--------------------------------------------windows 下使用git-----------------------------------------------1.下安装git fo ...
TedTian 评论(0) 有1721人浏览 2013-03-10 21:21

系统重启后,VCS状态ADMIN_WAIT or STALE_ADMIN_WAIT

VCS教程  http://hobgoblinconsulting.com/hints/vxvm/vcs/   系统重启后,VCS状态为ADMIN_WAIT or STALE_ADMIN_WAIT After a reboot, a node in a VERITAS Cluster Server (VCS) environment is in an ADMIN_WAIT state o ...
hongye612430 评论(0) 有3367人浏览 2013-01-23 21:03

授权申明

近日我将我在iteye上发布的《Pro Git读书笔记》做成电子书发布到baidu文库中,受到编辑质疑此书是否侵权,现声明如下,本人同意baidu 文库帐号 kerrywang002上传并共享此书,谢谢:)
leonzhx 评论(0) 有817人浏览 2012-04-13 18:40

《Pro Git》读后感

开始接触Git是在去年年初,公司开始从Clearcase 过度到Git,而我所工作的项目还未在工作之列,虽然参加了一些培训,但对Git依旧是懵懵懂懂。后来开始进行一些code repo在Git上的开发工作,装了google 的msysgit和smart git, 一直在图形UI上使用着Git,也一直在master branch上工作,基本上没用到太多的DVCS的特性,汗~~。直到今年初开始了另一个项 ...
leonzhx 评论(2) 有2287人浏览 2012-03-18 18:26

Chapter 9. Git Internals

1.   Git is fundamentally a content-addressable file system with a VCS user interface written on top of it.     2.   Git has a bunch of verbs that do low-level work and were designed ...
leonzhx 评论(0) 有2127人浏览 2012-03-18 17:27

Chapter 7. Customizing Git

1.   Git uses a series of configuration files to determine non-default behavior that you may want. The first place Git looks for these values is in an /etc/gitconfig file which contains valu ...
leonzhx 评论(0) 有1801人浏览 2012-03-17 16:10

Chapter 6. Git Tools

1.   Git is smart enough to figure out what commit you meant to type if you provide the first few characters, as long as your partial SHA-1 is at least four characters long and unambigu ...
leonzhx 评论(0) 有1306人浏览 2012-03-13 19:52

Chapter 4. Git on the Server

1.  The preferred method for collaborating with someone is to set up an intermediate repository that you both have access to, and push to and pull from that. We refer to this repository as a G ...
leonzhx 评论(0) 有1915人浏览 2012-03-03 16:23

Chapter 3. Git Branching

1.   Branching means you diverge from the main line of development and continue to do work without messing with that main line.     2.  When you commit in Git, Git stores a commit ...
leonzhx 评论(0) 有2198人浏览 2012-02-29 15:22

Chapter 2. Git Basics

1.  You can get a Git project using two main approaches. The first takes an existing project or directory and imports it into Git. The second clones an existing Git repository from anot ...
leonzhx 评论(0) 有1541人浏览 2012-02-27 21:17

Chapter 1. Getting Started

1.  Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.   2.  Local Version Control Systems have a simple database t ...
leonzhx 评论(0) 有3233人浏览 2012-02-26 15:31

第十三章 版本管理

1.   版本管理( Version Management )是指项目整体版本的演变过程管理,如从 1.0.0-SNAPSHOT 到 1.0.0 。版本控制( Version Control )是指借助版本控制工具( VCS )追踪代码的每一个变更。   2.  理 想的发布版本应该对应项目某个时刻比较稳定的状态,应满足以下条件:   1 ...
leonzhx 评论(0) 有2060人浏览 2012-02-20 15:57

《Pro Git》

A very good git tutorial: http://progit.org/book/   A very good git tutorial.     The author SCOTT CHACON is the author of the Git Internals Peepcode PDF in addition to maintai ...
leonzhx 评论(0) 有898人浏览 2011-11-27 21:43

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics