idealkmfk.blogg.se

Git visual
Git visual








  • We even tried a standard command-line renameĪll of these had the same impact.
  • We tried renaming within the "Folder" view within Visual Studio.
  • Going directly to the file system and doing a "rename".
  • Going Command LineĪfter lots of looking, I discovered that this is just one of the infrequent occasions that we had to use the command line. We wanted this to appear as a true move with the history intact. We had more than 2.5 years of history of the project within Git, and all initial attempts by the team to rename this folder resulted in Git seeing it as a bunch of "deletes" and "adds."ĭon't get me wrong, using the VS Tools we would have had methods to go back, but simple things like "View History" would have been lost.

    git visual

    I had a huge project where the main source was contained in a folder called Source, and we needed to rename that folder to src to meet automation and other requirements to bring this project in compliance with other projects. For those of you command-line junkies, it could be less of a limitation.

    git visual

    I should preface this that 99.9% of my work with Git-based repositories is done from within Visual Studio 2019 utilizing the tooling that is available within Visual Studio.

    git visual

    For me, most recently, this was the concept of renaming a directory inside a Git repository. Sometimes the most trivial tasks are ones that we sink entire days of effort into and find the solution was one keyword.










    Git visual