Skip to content

Commit 12ca92a

Browse files
committed
Fix 'fetch' syntax, include sparkly 'git log' trick
And bolt a couple more Win32-folders onto .gitignore.
1 parent 2be9f41 commit 12ca92a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ core
3232
Makefile
3333

3434
# Win32-specific ignores
35+
Debug/
36+
Release/
3537
binary/
3638
build/
3739
Nethack.sln

DEVEL/git_recipes.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ you specify:
3232
-pretty=one: format output as a single line for each entry
3333
(branch): show the commits from (branch) instead of the current one
3434

35+
[*] git log --pretty=one --decorate --graph --all
36+
37+
(This is best explained by executing and looking at the output.)
38+
3539

3640
[*] git add (filename)
3741
[*] git nhadd (filename)
@@ -101,10 +105,10 @@ the prior commit.
101105
[/end area-of-concern]
102106

103107

104-
[*] git fetch [-a]
108+
[*] git fetch [--all]
105109

106110
Retrieve commits from the remote repository to your machine.
107-
Including -a will get commits for all branches.
111+
Including --all will get commits for all branches.
108112
Does NOT merge them into your local repository.
109113

110114

0 commit comments

Comments
 (0)