-
Notifications
You must be signed in to change notification settings - Fork 0
quickly view a file at a specific point in history (commit-ish)
License
kiprasmel/git-at
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
git-at ====== somehow i didn't know that you can do ``` git show <commit-ish>:<filepath> ``` to view a file at a specific point in history, until [1]. git-at is just a very simple wrapper script that will cat the file, place the contents into /tmp/git-at/<repo_name>/<rel_path_to_file>, will remove the write permission and will open it with your $EDITOR. note it's not POSIX-compliant. PRs welcome. --- [1] https://youtu.be/ig5E8CcdM9g?t=48m59s though, if you're looking for intro videos on how git works internally, [2] might be a better start, and [3] afterwards, and then [1] - at least that was my order of going thru them. [2] https://youtu.be/lG90LZotrpo [3] https://youtu.be/P6jD966jzlk
About
quickly view a file at a specific point in history (commit-ish)
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published