User Tools

Site Tools


mywiki:versiontool:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mywiki:versiontool:start [2014/11/30 07:58] – [Remote Partially Backup Repository] shaoguohmywiki:versiontool:start [2019/09/15 18:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== mecurial ======+====== Mecurial ======
  
  
 | [[http://mercurial.selenic.com/release/|Download Link:]] | | [[http://mercurial.selenic.com/release/|Download Link:]] |
  
-QUEUE+===== Remove outgoing changeset ===== 
 +The method to remove the outgoing changeset, ie, already committed but not pushed yet. 
 + 
 +hg **strip** REV 
 + 
 +===== QUEUE =====
  
 hg qnew "comment" patch_name.diff hg qnew "comment" patch_name.diff
 + 
 +**undo hg qnew:**
 +  * hg strip -k .
 +  * hg qdelete patch-name
  
 +The --keep flag makes strip ignore the working copy while working, that is, it deletes the commit (like hg qpop would do) but it doesn't undo the changes to the files. After stripping you still have the patch in your series (unapplied) and you can then delete it.
 hg qpop // 把最上面的的patch移出队列 hg qpop // 把最上面的的patch移出队列
  
Line 79: Line 89:
     hooks     hooks
  
 +====== Git ======
 +^ Reference | [[https://www.atlassian.com/git/tutorials/|Git Tutorials]] |
 + 
mywiki/versiontool/start.1417305528.txt.gz · Last modified: (external edit)