Make a diff of git new and untracked files
make a diff of git new and untracked files: git diff --no-index /dev/null filename
Uhm...
make a diff of git new and untracked files: git diff --no-index /dev/null filename
https://mana.mozilla.org/wiki/display/~rpappalardo@mozilla.com/git#git-Remote&LocalOperations
To see all availabe branches (similar to available mercurial queues): git branch
git config push.default nothing
| Git | Mercurial |
|---|---|
| git pull | hg pull -u |
| git fetch | hg pull |
| git reset --hard | hg update -C |
| git revert | hg backout |
| git add | hg add |
| git add | Not necessary in Mercurial. |
| git reset | Not necessary in Mercurial. |
| git add -i | hg record |
| git commit -a | hg commit |
| git commit --amend | hg commit --amend |
| git blame | hg blame or hg annotate |
| git blame -C | (closest equivalent): hg grep --all |
| git bisect | hg bisect |
| git rebase --interactive | hg histedit |
| git stash | hg shelve (Requires the ShelveExtension or the AtticExtension.) |
| git merge | hg merge |
| git cherry-pick | hg graft |
| git rebase | hg rebase -d |
| git format-patch | hg email -r |
| git am | hg mimport -m |
| git checkout HEAD | hg update |
| git log -n | hg log --limit n |
| git push | hg push |
Local content over local web server: