qshinoの日記

Powershell関係と徒然なこと

2017-04-08から1日間の記事一覧

git 取り消し

git

git 取り消し ここでの取り消し対象は下記のもの index : addしたもの commit push index git reset commit git revert コミットハッシュ push git revert コミットハッシュ git push merge 直前マージ git reset –hard HEAD^

LinuxからWindows制御

LinuxからWindows制御 winexeが使える。 コンピュータ名 hunnyの場合。 winexe -U hunny/Administrator%poi //192.168.1.1 "echo Oha-" 開放が必要なポート 135/tcp(RPCエンドポイント・マッパー) 445/tcp(ダイレクト・ホスティングSMB) 1025~65535/tcp…