Solve the problem that the Composer command cannot be identified in Git Bash in Windows, gitcomposerIdeas
Simulate Linux, copy a composer file to the/usr subdirectory of Git Bash, and grant the execution permission.
Solution
First, determine the path of your composer. phar file. My website is/d/wamp64/bin/php/php5.6.31/composer. phar (change the drive letter s
Generate the public key with Linux first and find its location
Open Sourcetree in Windows, click Tools-Create or import SSH key-and then click Putty Key Generator load to import the Windows PPK file,
Click on the Conversions menu of Putty Key generator to export different ssh keys depending on the Linux build, I am exporting OpenSSH key.
Then the public key and the key are copied to Linux, can be
Generate SshkeySsh-keygen " [email protected] " -f filenameWhen the F option is not specified or the F option is empty, the generated private key and public key are: Id_rsa and id_rsa.pubIn order to connect multiple sources at the same time you need to set different names for different sources, otherwise they will be overwritten.The ps1:windows command line has no Ssh-keygen and can be executed in GitbashPs2:ssh-keygen generated key is saved by defaul
Build with gitblit1.8First you install the JDKThen download Gitblit, here to a csdn downloadhttps://download.csdn.net/download/nietzsche0/10482683Unzip the Gitblit compressed package into any directory and enter the data directory to edit the defaults file:Find Git.repositoriesfolder, set as your folderServer.httpport set to any infrequently used port (set to 10101 here)Server.httpbindinterface set to IPServer.httpsbindinterface set to localhostLocate Gitblit in the Gitblit installation director
on + bit Win OS:git config--global core.editor "' C:/Program Files/notepad++/notepad++.exe '-multiinst-notabbar-nosession-noplugin"on + bit Win OS:git config--global core.editor "' C:/Program Files (x86)/notepad++/notepad++.exe '-multiinst-notabbar-nosession- Noplugin "Obviously the C:/Program Files/notepad++/notepad++.exe part should is the path to the notepad++ executable on your system. For example, on Windows 7 it's likely to be C:/Program Files (
For Windows:1. Download and install Rbtools with python2.7:: https://downloads.reviewboard.org/releases/RBTools/0.7 Select EXE filePath after installation: C:\Program Files (x86) \rbtools2. Configure environment variables: RBT and Python:c:\program files (x86) \rbtools\python27c:\program files (x86) \rbtools\bin 3. Encoding problem: Do not add the following files, will error code\rbtools\python27\lib\site-packages directory under the new Add File site
Ubuntu does not require any additional configuration. For example, if you do not need to install ftp or other software, you can use the scp command to directly transfer files, which is really convenient! ✓ Dragon@192.168.253.137 :~ /You will be asked about your account's dragon password.
Ubuntu does not require any additional configuration. For example, if you do not need to install ftp or other software, you can use the scp command to directly transfer files, which is really convenient!
1) Op
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.