TAG | DVCS
If you failed (because I am) to use Git bash all the time just to look cool and geeky, the following article will help you to add GitExtensions support. So you will be able to call them right from your Git bash or posh-git.
So my daily usage looks like the following:
#will open diff dialog
git ex viewdiff
#will open commit dialog
git ex commit
#will open GitExtensions start page
git ex
UPDATE
You can use the following PowerShell script to do all the stuff for you:
Some time ago I was looking for those command equivalents:
Subversion (SVN) |
Mercurial (Hg) |
Git |
---|---|---|
svn add | hg add | git add |
svn blame | hg blame | git blame |
svn cat | hg cat | git show |
svn checkout | hg clone | git clone |
svn commit | hg commit ; hg push | git commit -a ; git push |
svn delete/remove | hg remove | git rm |
svn diff | hg diff | git diff, git diff –cached |
svn help | hg help | git help |
svn log | hg log | git log |
svn revert | hg revert | git checkout -f |
svn status | hg status | git status |
svn update | hg pull –update | git pull |
svn move/rename | hg move/rename | git mv |
8
How to get shelving working in TortoiseHg 2.0
View Comments | Posted by Restuta in development
Our team has recently updated to TortoiseHg 2.0 and everybody were frustrated with the update that came with it regarding shelving. Sometimes you simply can’t unshelve your files, while keep receiving the following message “1 out of 1 hunks FAILED”:
Solution
If you are aware of what I am talking about here is the quick fix for you:
Add following lines
[patch]
eol = auto
into the next file
%userprofile%\mercurial.ini
Enjoy!
Why it happens?
It’s because of EOL handling problems when running mecutial under Windows, this line enables patch to fix it.