Joined August 2012
·
Posted to
Git Reflog should be your friend
over 1 year
ago
For anyone confused on rebasing, you can "ignore that" and just think of "reflog" as a handy tool for getting back work which you think you lost.
For example, if you delete a local branch but need some of the work you had in it back, reflog still shows those commits. The commits themselves aren't deleted when you delete a branch!
The rebase example in this post above is actually saying the same thing. Rebasing can make it appear that branches are deleted (well...squashed) into a series of commits.
Posted to
Search files for text, get files and line numbers.
over 1 year
ago
@passcod 
Yep! 
Ack is great as well. One caveat: On Ubuntu, it's ack-grep:
$ sudo apt-get install ack-grep
$ ack-grep --php 'print_r'
Posted to
Ubuntu: Essential packages for compile a program from source
over 1 year
ago
It's true, this gets people a lot on fresh server installs.
Achievements
345 Karma
23,033 Total ProTip Views
 
Octopussy
Have a repo followed by a member of the GitHub team
 
Forked 100
Have a seriously badass project that's been forked at least 100 times
 
Forked 50
Have a project with a thriving community of users that's been forked at least 50 times
 
Python 3
Have at least three original repos where Python is the dominant language
 
Lemmings 100
Write something great enough to have at least 100 watchers of the project
 
Forked 20
Have an established project that's been forked at least 20 times
 
Raven
Have at least one original repo where some form of shell script is the dominant language
 
Altruist
Increase developer well-being by sharing at least 20 open source projects
 
Velociraptor
Have at least one original repo where Perl is the dominant language
 
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
 
Nephila Komaci
Have at least one original repos where PHP is the dominant language
 
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
 
Forked
Have a project valued enough to be forked by someone else
 
Charity
Fork and commit to someone's open source project in need
 
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
 
Honey Badger
Have at least one original Node.js-specific repo
 
You can define the port as well