Compare with unmodified feature in VS2022 - settings

From one day to another the double click feature in VS2022 was disbled, but I don't retrieve that setting anywhere.
How I can return the "compare with unmodified" feature in Git Changes usable with a double click?
Thanks

Click on ... in Git Changes tab to the right of "Changes" word and choose "Compare File as Default Action".

Related

VS 2017: Double click in on changed file opens it instead of diff tool?

I'm using Visual Studio 2017 (latest version 15.5.3) and Beyond Compare as a diff tool and git as version control. Usually, when I double click on a changed file in the 'Changes' window, Beyond Compare opens and the diffs are shown. A couple of days ago the behavior changed. Now a double click opens the file itself in the editor instead of opening my diff tool.
When I want to view the diffs, I have to select 'Compare with unmodified...' from the context menu. So the diff tool itself still works fine. Only the behavior of the double click changed, which is quite annoying.
I searched the settings for a configuration, but didn't find anything.
Did anyone experience the same behavior?
How can I change it back?
Kind regards,
Ash
Strange no one else had this problem yet...
Finally, I downloaded the VS installer and executed repair option. After it finished, the problem disappeared.
Click on ... in Git Changes tab to the right of "Changes" word and choose "Compare File as Default Action".

Switching branch on Xcode 9

I am having trouble finding the menu item to switch branch using Xcode 9. The working copies menu seems to have disappeared. Any ideas?
Xcode 9
Xcode 8
Press ⌘2 to open the new Source Control Navigator.
Right-click on the master icon.
To switch to a different branch
Right-click on a non-current branch
Choose Checkout...
Press ↩ or click on the Checkout button.
Expose the left side window (Navigator) in your Xcode by selecting this option (you will see this on the top right side of your Xcode window):
Now select the second tab:
Right click on the branch you are intending to checkout and hit the checkout button from menu:
It seems that Apple has moved Source Controls feature like change branch, version history to separate tab in Navigator area for Xcode 9.x
Below are step to perform branch switch :
Open the Navigator area (if it is hidden) by pressing left pane window present on top right of Xcode or use shortcut cmd + 2
In Source control navigator you can see Branches, Tag present for your project.
Now, if you want to switch branch then select the branch to switch and right click on it.
Select Checkout. This will prompt an alert Do you want to check out “<branch name>”? Select Checkout.
Now this will switch your branch to selected one after sometime.
Note: In order to switch between branches you need to commit or discard changes done in project.
You can even see Log history by selecting branch. Commit history can be viewed based on last 24 hours, last 7 days and last 30 days.
1) Press show navigator button (top right corner of Xcode):
2) Show the project navigator, expand Remotes folder:
3) Expand the origin folder, right click the branch you want to use, and click Checkout....
Follow the below link for the clear explanation of each and every functionality like, Commit, pull, push, etc.
https://www.raywenderlich.com/153084/use-git-source-control-xcode-9

TortoiseGit - where is the reset option for a branch?

I am using TortoiseGit 64 bit version on Windows 10. I know it has a reset option because the documentation talks about it. However, I cannot find the menu option for "Reset". I have searched the preferences to see if it needed to be added but I cannot find it anywhere. Here is a screen capture of my TortoiseGit menu.
Right now, the reset dialog can only be opened using the log dialog context menu.
cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-showlog.html
To add onto MrTux,
Go to the log dialog, right click on the commit you want to revert to and there should be a 'reset "current branch" to this' popup. If you want to clear all local changes in favor for this commit, then perform a Hard reset.
I had the same problem but couldn't figure it out from the answer here.
But the way I did it was, after I did a fetch there was the option to do a reset in the dropdown in the bottom corner of the dialog

subversion server name change with ankhsvn

IT has moved the location of the svn server to a different box. As a result all the source control paths need changed. I can't find where to do it in VS2010+AnkSvn. The change source control dialog (File-Subversion-Change Source Control) lists the SCC binding URL, but as a read-only value and doesn't appear to provide any way to change it.
I think it's the "Switch solution" button on the Pending Changes toolbar. Press it, enter the new URL and press OK.
Right click on project in VS, goto subversion and select 'switch project'. here you can change your svn server.

Is there a way to detach a project from CVS in Xcode?

XCode's CVS support is abysmally bad. Or maybe it's just the server in my organization. Either way, it's leading to more headaches than it's worth so I'd like to "detatch" the project as I can in Eclipse. Is there an easy way to do this or do I have to manually delete all of the CVS files?
You have two choices.
Double click on your project in the main source list to bring up the "Project "myProject" Info" window. Make sure the "General" tab is selected. At the bottom of that tab select "None" from the "SCM Repository" popup menu and close the window.
Or, go to Xcode Preferences window and select the "SCM" tool, select the repository you want to remove, and then remove the repository using the "-" button in the lower left hand corner of the dialog box. This option is a bit more drastic.
These should both leave all of the invisible CVS directories alone. This will allow you to manage the repository from the command line and completely hide the CVS info from Xcode.
Good Luck.

Resources