Skip to content

Instantly share code, notes, and snippets.

View Sushant's full-sized avatar

Sushant Bhadkamkar Sushant

View GitHub Profile
@Sushant
Sushant / gist:06b3b9a06c9508c15617
Created November 25, 2014 00:00
Remove all dirs except the 10 most recent ones
for i in `ls -t | awk 'NR>10'`; do if [[ -d $i ]]; then rm -rf $i; fi; done
# Show only modified/added/removed files:
$ hg st -m
$ hg st -a
$ hg st -r
@Sushant
Sushant / SushantResume.md
Last active October 7, 2015 16:37
Sushant Bhadkamkar Resume

Sushant Bhadkamkar

[email] (mailto:mailsushant@gmail.com)

Work Experience

  • Outright, Inc. Software Developer Intern, Summer 2012 Ruby-on-Rails Git
  • Druva, Inc. (Employee #9) Software Engineer, 2009-2011 Python Javascript Objective-C Mac OSX Linux JSON C svn
  • Hover.in (Employee #3) Developer, 2008-2009 Erlang Javascript HTML
@Sushant
Sushant / gist:3174585
Last active December 4, 2022 06:18
Git uncommon but useful commands
# Delete Remote branch:
$ git push origin :newfeature
# Show details of a specific commit:
$ git show 44f1f96e23ecb835e4442bf464861231b2d96d7e
# Merge specific files from another branch:
# You are in the branch you want to merge to
$ git checkout <branch_you_want_to_merge_from> <file_paths...>