Fix 'fetch' syntax, include sparkly 'git log' trick
And bolt a couple more Win32-folders onto .gitignore.
This commit is contained in:
@@ -32,6 +32,8 @@ core
|
|||||||
Makefile
|
Makefile
|
||||||
|
|
||||||
# Win32-specific ignores
|
# Win32-specific ignores
|
||||||
|
Debug/
|
||||||
|
Release/
|
||||||
binary/
|
binary/
|
||||||
build/
|
build/
|
||||||
Nethack.sln
|
Nethack.sln
|
||||||
|
|||||||
@@ -32,6 +32,10 @@ you specify:
|
|||||||
-pretty=one: format output as a single line for each entry
|
-pretty=one: format output as a single line for each entry
|
||||||
(branch): show the commits from (branch) instead of the current one
|
(branch): show the commits from (branch) instead of the current one
|
||||||
|
|
||||||
|
[*] git log --pretty=one --decorate --graph --all
|
||||||
|
|
||||||
|
(This is best explained by executing and looking at the output.)
|
||||||
|
|
||||||
|
|
||||||
[*] git add (filename)
|
[*] git add (filename)
|
||||||
[*] git nhadd (filename)
|
[*] git nhadd (filename)
|
||||||
@@ -101,10 +105,10 @@ the prior commit.
|
|||||||
[/end area-of-concern]
|
[/end area-of-concern]
|
||||||
|
|
||||||
|
|
||||||
[*] git fetch [-a]
|
[*] git fetch [--all]
|
||||||
|
|
||||||
Retrieve commits from the remote repository to your machine.
|
Retrieve commits from the remote repository to your machine.
|
||||||
Including -a will get commits for all branches.
|
Including --all will get commits for all branches.
|
||||||
Does NOT merge them into your local repository.
|
Does NOT merge them into your local repository.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user