If you’re working with a beastly repo that has more than 2,000 commits, you might need to solo or hide branches to go back further in time. If you’re unsure where to locate the date, select a commit and review the date stamp on the right side. Help speed up searching while avoiding excessive memory use (see Marc's comment in this thread)īut mostly I just want an instantaneous way to search the commit history. Scan your graph for the closest commit to your target date. ![]() One idea might be to store "related commits" (commits that mention each other, commits reverting other commits, cherrypick commits and the original commit) in the index, so when looking at a commit you can easily jump to the "related" ones. Potentially (assuming some sort of background index), augment existing tools to provide faster access to commit data or to find associated commits.Make it easier to use SmartGit via the keyboard by removing the need to memorize keyboard shortcuts.Avoid the frustration (see request 1, request 2) of trying to find SmartGit options that are currently spread across at least 5 different modal dialogs, many with nested sub-sections.Hence, we can use the commit hashes found with the. This command will display all the commits from the commit history that contain changes on the files, whose names match the given pattern. Avoid the slow, concentration-breaking process required to find commit info in the current SmartGit: 1) open log window, 2) wait for it to populate, 3) type search terms, 4) wait for log to re-filter, 5) search through the filtered results to find the right commit, 6) click on commit to see the details) If you have deleted a file and do not know on which path it was, then you should execute the following command: git log - all -full-history - 'MyFile.'. ![]() Presumably it accomplishes this by creating some sort of background index using Lucene or something else.Īdding this would greatly improve the usability of SmartGit in various ways: Find everything you need to learn Git, including: a Git commands cheat sheet, Git tutorials, Git definitions, Git best practices & solutions to Git problems. This provides instantaneous access to searching commits, accessing client commands, and initiating git operations in a single operation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |