Skip to content

Commit

Permalink
Update git.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaEstes authored Mar 3, 2020
1 parent 8f0c69e commit 302f3a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ $ git grep 'search term' -- '*.php'

# Grep in the 'src/` directory, only yml files
$ git grep 'search term' -- 'src/**.yml'

# Open files in vim
vim $(git grep --name-only 'search term' src/)
```

## Push Branch to Remote Repository to a different branch name
Expand Down

0 comments on commit 302f3a4

Please sign in to comment.