skip to main
|
skip to sidebar
Jorrel's Online Notepad
Wednesday, January 14, 2009
Git: restoring accidentaly deleted files
To view a list of deleted files:
git ls-files --deleted
To restore a deleted file (assuming the D is not yet commited)
git checkout where/the/file/was.ext
0 comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Jorrel Ang
View my complete profile
Blog Archive
▼
2009
(1)
▼
January
(1)
Git: restoring accidentaly deleted files
►
2008
(13)
►
December
(1)
custom assert_select_rjs matcher
►
November
(1)
Application Controller
►
October
(4)
reverse_sql_order
"Only get, head, post, put, and delete requests ar...
Using custom column type in Rails migrations
Obi-Wan vs Yoda
►
September
(1)
Rubyforge gem problem
►
June
(1)
Undo uncommitted changes in git
►
April
(3)
Ubuntu Hardy + Firefox + Firebug
mod_rails + edge rails
mod_rails + rails 2.0
►
January
(2)
Detecting the googlebot
Planned Music Purchases
►
2007
(8)
►
December
(2)
Windows + ext2/ext3 access
Copying files using rsync
►
November
(1)
Monaco for Ubuntu
►
October
(5)
HTTP basic authentication
Autotest and libNotify
Ubuntu Gutsy!
in_words
to_stopwatch
del.icio.us Bookmarks
Loading...
Blogroll
Jeffrey Ching's Blog
getchee
8 months ago
The Avid Mind
A Simple Way to Generate formatted PDF Documents
1 year ago
Followers
0 comments:
Post a Comment