TIP: if Git is setup correctly, Git knows we're working with Python, so commands are clearer.
setup: echo '*.py filter=python' >> .gitattributes
Example: find the usage/definition of formatted_tax:
$ git grep -p formatted_tax
app/models.py=2083=class Order(CreatedMixin):
app/models.py:2454: 'tax': self.formatted_tax,
The second line says the symbol was found on line 2454. The first line shows the context, the symbol was found inside the class Order! Very useful
related: 'git grep' and Language-Aware Diffs
Friday, August 28, 2015
Subscribe to:
Post Comments (Atom)
iDealshare VideoGo is just the right AVI to Roku Converter which has both Mac and Windows version! It helps to convert various AVI files whatever encoded with DivX, Xvid, etc to Roku more supported MP4 or MKV. https://www.idealshare.net/video-converter/roku-avi.html
ReplyDelete