[git-users] Re: An unbelievably newby question

2015-10-11 Thread Neil Nand
Hello, I think you might be looking for: git show REVISION:path/to/file An example use would be: git show HEAD^:public/index.php That would get the revision before HEAD of public/index.php. HEAD^ can be swapped out for HEAD~{number}, replacing {number} with how many revisions back you want to

[git-users] Deleting code now but want to retrieve it easily at a later date

2016-09-27 Thread Neil Nand
Hello, I have a client that wishes to have some functionality removed from a website that I'm building but I'm not totally convinced they won't want the functionality added back to the site at a later date. Is there a way to handle this type of situation with git? Basically deleting code in on