Skip to content

Commit

Permalink
doc: slightly better example
Browse files Browse the repository at this point in the history
  • Loading branch information
François Gannaz committed Apr 29, 2014
1 parent 820f092 commit c38e477
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ $ git local status --short
## Tracked and modified files:

## Untracked files that upstream ignores or does not track:
.gitignore
other
src/config/local.yml
```

where you can add files, commit, and use any git command:
Expand All @@ -46,7 +45,8 @@ $ git local log --format=oneline
```

The default behavior for the locally tracked files is to
ignore them in the main repository:
ignore them in the main repository.
Here, the YAML file was added to the main `.gitignore`:

```sh
$ git status
Expand Down
3 changes: 2 additions & 1 deletion git-local
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ where you can add files, commit, and use any git command:
81aeaf5dd5b86fce443cc06cbb6e237aa7432241 local config
The default behavior for the locally tracked files is to
ignore them in the main repository:
ignore them in the main repository.
Here, the YAML file was added to the main `.gitignore`:
$ git status
?? .gitignore
Expand Down

0 comments on commit c38e477

Please sign in to comment.