我是git的新手,我坚持使用git fetch(我对TFS和SVN有更多的经验,所以欢迎任何类比:)
所以我在Github上找到了一个我分叉的项目:
我做了一些签到,也做了一个git pull来从源获取最新的更改,在某些时候,我想我点击同步按钮(我正在使用AndroidStudio BTW),我从这里迷路了.
它产生了我不太了解的提交,从这里开始,我似乎无法再从源获取最新的添加内容(黑色源上的最后4个更改)
我在git fetch上收到以下错误:
致命:refs/remotes/origin/pr/34跟踪refs/pull/34/head和refs/heads/pr/34
https://github.com/MohammadAG/Xposed-Tinted-Status-Bar/network

谢谢
因此,我正在学习将 ReactiveUI 7.4 与 winforms 一起使用,并且我认为我获得了很好的体验,直到我尝试包含用于显示错误弹出窗口的交互:
视图模型
public class ViewModel : ReactiveObject
{
[...]
public ViewModel()
{
GetCmd = ReactiveCommand.CreateFromTask(
_ => myAsyncFunc(),
CanGetCmd
);
GetCmd.ThrownExceptions
.Subscribe(ex => Interactions.Errors.Handle(ex)); <- breakpoint correctly breaks in there
}
}
Run Code Online (Sandbox Code Playgroud)
互动
public static class Interactions
{
public static readonly Interaction<Exception, Unit> Errors = new Interaction<Exception, Unit>();
}
Run Code Online (Sandbox Code Playgroud)
看法
public ViewCtor()
{
[viewmodel declaration...]
this.btnGet.Events().Click
.Select(_ => Unit.Default)
.InvokeCommand(this, x => x.ViewModel.GetCmd);
Interactions.Errors.RegisterHandler(interaction =>
{
_popupManager.Show(interaction.Input.Message, "Arf !"); <- but breakpoint never hits …Run Code Online (Sandbox Code Playgroud)