Create a Git repository under the Windows git Bash command line and update it to github, gitgithub
When I was in my sophomore year, I heard the teacher say that there was a version management tool called git. At that time, I only listened to the teacher and didn't use it be
Project development under Windows, using Git to connect to the Git repository via ssh, and SSH to connect with public key.First you need to download mygit and use git bash after installation. Git
This article experiences the use of Git bash on the Windows operating system.What is bash?is a shell environment, Bourne Again shell abbreviation.install git for Windows→http://git-for-
Recently write C # from Linux up and down to Windows. It feels a great difference. The biggest change is---a variety of GUI tools ah ... Everywhere, a variety of search menus. Not used!! Miss BSH's Flexibility AH ~ ~ ~Why to use GitGit is the most popular version manager of the moment. A lot of benefits, but the most important thing is actually a little
Without always accessing the server, everyone has an entire warehouse
PS:
sharing: www.ndislwf.com or ifxvn.com.-Icon Component (addition icons): Choose whether to create a Quick Launch bar icon or whether to create a desktop shortcut;-Desktop Browsing (Windows Explorer integration): The way to browse the source code, a separate context browser only using bash or git GUI tools only; Advanced contextual browsing methods using the
default;
My blog: Code encyclopedia: www.codedq.net; amateur grass: www.xttblog.com; love to share: www.ndislwf.com or ifxvn.com.-Icon Component (addition icons): Choose whether to create a Quick Launch bar icon or create a desktop shortcut;-Desktop Browsing (Windows Explorer integration): Browse the source method, separate context browsing using only bash or git
1, C:\Program Files\git\etc\git-completion.bash:
Alias ls= ' ls--show-control-chars--color=auto '
Description: Allows you to enter the LS command in Git Bash to display the Chinese file name correctly.
2, C:\Program FILES\GIT\ETC\INPUTRC:
Set Output-meta on
Set Convert-meta
Git Bash Chinese garbled characters in Windows,
Open Git Bash
Go to the directory: $ cd/etc
1. Edit the gitconfig file: $ vi gitconfig
Add content to the file
[Gui]
Encoding = UTF-8 # use UTF-8 in the code library
[I18n]
Commitencoding = GB2312 # log encoding. The def
Before uploading the code to GitHub is mainly through the client GitHub desktop or Web page, after changing the computer to feel the installation of the client is too troublesome, the way to know the command line is very necessary.The experiment here is to commit some code changes to the Json.git repository."LS" is a Linux command that is used to view files and folders in the current directory.The GIT init command is used to initialize the current dir
After downloading the Windows version of Git, garbled:This is obviously intolerable and the solution is as follows:Modify the profile file in the C:\Program files (x86) \git\etc My installation directory to add a paragraph:Alias ll='/bin/ls-alf--show-control-chars--color=tty'ls=' /bin/ls--show-control-chars-f--color=tty 'Note that sometimes you will be prompted t
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. pha
IdeasSimulate Linux, copy a composer file to Git Bash's/usr subdirectory, and give execute permissions.SolveFirst, make sure your Composer.phar file path. Mine is: /d/wamp64/bin/php/php5. 6.31/composer.phar (please put similar d:\ Changed to/d/).Then copy, and Modify permissionsCp/d/wamp64/bin/php/php5.6.31/composer.phar/usr/local/bin/composerchmod A+x/usr/local/bin/composerTestTroubleshoot a Windows envir
account name, passwordClick "OK"Look again under the Gitspace folder, has been downloaded6 . Enter the directory where you have initialized the good or cloned project, and then execute:Update the project from the server because it has already been clone, so there is no need to updateGit pull Origin Master7, make some changes, such as adding a "description. txt" fileExecute the following command to complete the first commitgit Add.git commit-m "Installation
the conflict, you can ignore this file or the file type extension file, after the point is ignored, The. gitignore file (hidden file) will be generated at the root of the GIT project, and it will be found in the directory where we just set the Ignore file, and of course you can edit the file directly.PostscriptUsing Git is nothing more than code hosting, the next chapter on vs integrated
Preparatory work:1, Git-1.8.1.2-preview20130201.exe:Https://code.google.com/p/msysgit/downloads/list2, Copssh_4.1.0_installer.exe:http://download.csdn.net/download/zzjzmdx/46362273, Tortoisegit-1.8.5.0-64bit.msi:https://code.google.com/p/tortoisegit/wiki/Download?tm=2Server System: Windows Server 2003 SP2Client system: Windows 7 SP1Server-side installation and de
One:The shell is the shell of the Linux/unix system, and it can be understood as the command line interface, where you enter and execute the command line.Bash (born again shell) is one of the shell's most commonly used shells. you run on your Linux: PS | grep $$; If you run the result as bash, it means that the current default shell is bash.The shell is basically a command interpreter, similar to the commands under DOS. It receives user commands (such
(database path) and assign the seventh step to create a good file directory.3. Locate the Server.httpport, set the port number of the HTTP protocol4. Locate the Server.httpbindinterface and set the IP address of the server. Set up your server IP here.5. Locate server.httpsbindinterface, set as localhost6. Save and close the file.nineth Step: Run the gitblit.cmd batch file.
Locate the Gitblit.cmd file in the Bitblit directory, and double-click it.
2. The running result is as follow
(database path) and assign the seventh step to create a good file directory.3. Locate the Server.httpport, set the port number of the HTTP protocol4. Locate the Server.httpbindinterface and set the IP address of the server. Set up your server IP here.5. Locate server.httpsbindinterface, set as localhost6. Save and close the file.nineth Step: Run the gitblit.cmd batch file.
Locate the Gitblit.cmd file in the Bitblit directory, and double-click it.
2. The running result is as follow
: Run the gitblit.cmd batch file.
Locate the Gitblit.cmd file in the Bitblit directory, and double-click it.
2. The running result is as follows, the operation is successful.Tenth step: Open in the browser, you can now use Gitblit.11th Step: Set the Windows Service mode to start Gitblit.
Under the Gitblit directory, locate the Installservice.cmd file.
2. Open with Notepad.3. Modify ARCH32-bit system: SET arch=x8664-bit syst
: Run the gitblit.cmd batch file.
Locate the Gitblit.cmd file in the Bitblit directory, and double-click it.
2. The running result is as follows, the operation is successful.Tenth step: Open in the browser, you can now use Gitblit.11th Step: Set the Windows Service mode to start Gitblit.
Under the Gitblit directory, locate the Installservice.cmd file.
2. Open with Notepad.3. Modify ARCH32-bit system: SET arch=x8664-bit syst
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.