Home > OS >  How on Linux git clone library Windows version
How on Linux git clone library Windows version

Time:09-23

I have a copy of the code in Linux and Windows on each have a, my hand is out of control results on Linux to deleted, now want to restore from the Windows, how do you write the URL? Need to build a SSH on Windows?

Rookie, don't spray...

CodePudding user response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux clone code from the warehouse

CodePudding user response:

reference 1/f, wang jf response:
literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

CodePudding user response:

refer to the second floor jkiluy111 response:
Quote: reference 1/f, wang jf response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

You run the virtual machine! Try this software winscp

CodePudding user response:

Wang jf
reference 3 floor response:
Quote: refer to the second floor jkiluy111 response:
Quote: reference 1/f, wang jf response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

You run the virtual machine! Try this software winscp


Can you go git synchronous this way? And don't copy your file..

Tried under Windows in openssh, but git prompt other question...

CodePudding user response:

reference 4 floor jkiluy111 response:
Quote: reference wang jf reply: 3/f

Quote: refer to the second floor jkiluy111 response:
Quote: reference 1/f, wang jf response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

You run the virtual machine! Try this software winscp


Can you go git synchronous this way? And don't copy your file..

Tried under Windows in openssh, but git prompt other question...

Not copy files won't solve your problem

CodePudding user response:

quoted wang jf five floor response:
Quote: refer to 4th floor jkiluy111 response:
Quote: refer to 3rd floor wang jf response:

Quote: refer to the second floor jkiluy111 response:
Quote: reference 1/f, wang jf response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

You run the virtual machine! Try this software winscp


Can you go git synchronous this way? And don't copy your file..

Tried under Windows in openssh, but git prompt other question...

Not copy files won't solve your problem


quoted wang jf five floor response:
Quote: refer to 4th floor jkiluy111 response:
Quote: refer to 3rd floor wang jf response:

Quote: refer to the second floor jkiluy111 response:
Quote: reference 1/f, wang jf response:

Literally built a git repository on the net, to win the code push up, backup province pounding back and forth,
Linux from warehouse clone code


The efficiency is too low...
Windows and Linux on the same computer, have an Intranet can be done...

You run the virtual machine! Try this software winscp


Can you go git synchronous this way? And don't copy your file..

Tried under Windows in openssh, but git prompt other question...

Not copy files won't solve your problem


How to synchronize with Windows does not exercise, if every time does copy your file, so how to Git with the Windows system, after operation...

CodePudding user response:

His churning out a plan:
1 - win10 open own openssh server
2 - will win10 openssh shell into git bash or other similar shell, the default CMD will find git executable file and the target,
Modify the way see here
https://github.com/PowerShell/Win32-OpenSSH/wiki/DefaultShell
Tests found directly to the registry is not effective, for reasons unknown, had to use powershell, and the default powershell is no permissions, use the administrator can be executed,
3 - set up an independent user (or with the current user), must be password! After can avoid to use the password by exchanging key,
4 - execution time
Git clone [email protected]:/d/code/test
The rest of the operating as usual,

  • Related