-
Notifications
You must be signed in to change notification settings - Fork 129
Support git --follow
to preserve history across renames
#900
Comments
My response from GitHub:
|
This chrome extension is a nice workaround, but this feature should be supported natively. For example, the --follow option is standard on Gitlab. |
Any news? It's tedious not to be able to see that a couple files are merely the same, but after a name change rather than to see two very large diffs. |
Any updates? We have Github Enterprise and this is an ongoing pain for the entire company. |
Please enable this feature. |
wow - just got bitten by this myself... I took the time to build a migration script to move my SVN repos across to GitHub while maintaining full history, but did a little structure tidying up in the process - and was then surprised to see my carefully reconstructed history was "missing" :( |
We (@getsentry) recently made the transition to a mono repo, merging all our JS SDKs together. Long story short, we just realized we ran into this as well. Before it was here: while a local We'd love to browse through the source on Github, also the blame view is very helpful at times. The chrome extension is better than nothing but we hope this will be the default on Github. Would sponsor a 🍺 for this feature 🤜 🤛 Cheers |
I also recently moved tons of source code from SVN to GitHub (internal enterprise instance) but this feature is really a missing peace with the enterprise offerings. We need this ASAP as this is very useful and mandatory feature. |
+1 Ability to preserve pre-move history of file after moving it to a different directory is must-have functionality. Was more than a little amazed to find out this is not available on Github. Was even more amazed to discover that Github does not provide any official way for the community to request / vote on feature requests. Quite counter intuitive given what Github is. |
What is the process to prioritize and implement this feature? We, additionally, would love to see this feature implemented! |
Would love this, going to follow this thread with great anticipation. |
Can github as a stopgap at least alert you when viewing the history for the file that the history is not complete (and suggest you view the history from git with --follow)? This would be a good first step. |
Wait, this is the largest Git repo hosting website and It's not supported? 😱 |
Renames are a common thing, seeing the complete file history should be supported and would be very useful. |
My goodness, any update GitHub?? Some expectation and voiced response, even if it's as vague as "maybe next year" would be appreciated at this point. |
Don't worry @brlcad, I have a feeling that they'll roll this out sometime during the 2020's 🤣 |
+1 |
3 similar comments
+1 |
+1 |
+1 |
I'm resisting the urge to write "+1". |
hey pig |
I'm quite surprised there's been no progress made here.. In the meantime, I've patched the Chrome extension so it can remain a temporary solution. |
+1 |
+1 For crying out loud, why is this still a thing? Sometimes people need to move files. Sometimes other people need to understand the who/when/why of changes to that file afterward. At this point, this is more of an essential bugfix rather than a new feature request (and I challenge anyone from GitHub to make a case that it's a feature without referring to the history of git and GitHub -- see how important history is?). |
Wow, it is 1/4 of 2021 in. Still nada? Can you just tell us what do you want? Money? Fame? Just say something. |
+1 |
In case it helps anyone: blame in GitHub does seem to display the original commit history, including commits that are not shown in the GitHub commit log. Also, for those using VS Code as their editor, the GitLens extension does follow the log history, and it has an "Open Commit on GitHub" option that will open the original commit in GitHub. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
For all those writing |
Thanks, @Levi-Lesches. Here is the relevant discussion from the GitHub repo. If everyone subscribed to this issue upvotes it, that should help its visibility. |
When a file is moved or renamed, the GitHub History doesn't show commits from before the move. Git itself supports the
--follow
option to show full history in these cases (and apparently it's much less buggy now then it used to be), but there is no way to achieve this in GitHub.This has been requested many times, but has yet to be implemented.
Current workaround seems to be installing this Chrome extension, but that's insufficient for a large dev team.
The text was updated successfully, but these errors were encountered: