Sometimes I just want to get a copy of a file from GIT here’s how I do it:
git cat-file blob HEAD~25:src/experiment/BasicStacking.java
Can be combined with a redirect to a file
git cat-file blob HEAD~25:src/experiment/BasicStacking.java > BS.java
Sometimes I just want to get a copy of a file from GIT here’s how I do it:
git cat-file blob HEAD~25:src/experiment/BasicStacking.java
Can be combined with a redirect to a file
git cat-file blob HEAD~25:src/experiment/BasicStacking.java > BS.java
This entry was posted on June 27, 2012, 09:56 and is filed under Computing. You can follow any responses to this entry through RSS 2.0. Both comments and pings are currently closed.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Aug | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
Arclite theme by digitalnature | powered by WordPress