Add the following configuration information under Git installation directory etc
1,/etc/gitconfig:
[GUI]encoding = Utf-8 #代码库统一用urf-8 to display Chinese in the Git GUI[i18n]commitencoding = GB2312 #log编码, window under the default gb2312, after the declaration sent to the server will not garbled[SVN]pathnameencoding =
the country, or even around the world, such as the development of the Linux kernel, there is absolutely no way to proceed. With version control, you can compare file changes to the system, you can query who submitted the new update, and can be managed by the project owner to manage the submission for updates.Q 2: What are the advantages of git compared to SVN?Actually here really to say who better than who
If you need to install git, the source cannot be found and the record is as follows:
1. Linux EL5 x86_64
1.1 I have yum in this version, so I use Yum to install git. However, the source cannot be found for the first installation, and "nothing to do" is displayed"
1.2 and then searched online, saying that epel should be installed first1.3 How to install epel?
Work needs, to install Git, the results can not find the source, and later done, recorded as follows1. Linux EL5 x86_641.1 I have Yum on this version, so I use Yum to install git, but I can't find the source for the first time, and finally show "nothing"1.2 and then the Internet search, said to be installed first Epel1.3 How do I install Epel? There are a lot of
Today in Jenkins a build, encountered a git download every time you have to enter the account password, so Baidu, use a method, fixI. By way of documentation1. Under ~/, Touch creates a file. git-credentials, edit this file with Vim, and enter the content format:Touch. git-credentialsvim. Git-credentialsPress "I" Insid
356f6def9d3fb7f3b9032ff5aa4b9110d4cca87eAuthor: A Certain Date: £ º+0800Description of the modification (which is filled in when the code commits)Signed-off-by: A Certain Diff--git A/src/com/android/mms/ui/messageitem.java B/src/com/android/mms/ui/messageitem.java100644---A/src/com/android/mms/ui/messageitem.java+ + B/src/com/android/mms/ui/messageitem.java++ List of specific changes--So you can know who made the changes, and the specific code to m
git config--global user.name "woaigithub"
git config--global user.email "jorden008@gmail.com"
//new public and private key
Ssh-keygen-c "jorden008@gmail.com"-t RSA
//Display public key content, copied to the GitHub settings of the in-country
cat/home/andy/.ssh/id_ Rsa.pub
//test and GitHub unicom
ssh-v git@github.com
//New GitHub in Repository,
view the detailed build information in the console:! [] (http://i2.51cto.com/images/blog/201712/25/f296ba63553733f31ed72c11444591b9.png?x-oss-process=image/ watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5nagvpdgk=) More intuitive results:! [] (http://i2.51cto.com/images/blog/201712/25/64a0b18139b6626c4996f1affab9c715.png?x-oss-process=image/ Watermark,size_16,text_qduxq1rp5y2a5a6i,color_ffffff,t_100,g_se,x_10,y_10,shadow_90,type_zmfuz3pozw5na
Http://www.oracle.com/technetwork/java/javase/downloads/index.html JDKHttp://www.eclipse.org/downloads/EclipseHttp://tomcat.apache.org/TomcatHttp://maven.apache.org/MavenActually, nothing. Download OK, after unpacking, set the PATH variable. I set it in the ~/.BASHRC.The file browser can display hidden files by pressing Ctrl + H. Right-click the editor to open the modification. You can also adjust the preferences to show hidden files. Of course VI open Edit can also.The following sets up the JDK
版本之间文件的区别10 Deleting filesRM' version name '11 branchesView all current branchesGit branchCreate a branch and use it to workgit checkout-b branch NameQuickly merge to another branch with a new versionGit Merge branch nameDelete Branchgit branch-d nameSwitch branchesGIT Branch Branch NameResolve ConflictsDifferent changes were made to the same file in branch 1 and branch 2 respectively, creating a conflict when attempting a branch mergeYou can edit the conflicting file in one of the branches, the
Installation Method Reference: http://www.jb51.net/os/RedHat/149653.htmlSpecific content:Before you install git, you need to install some dependent packages before installing the dependent packages to check if they are installed.The shell command is as follows:If not installed, we will install these dependent packages first:# yum-y Install zlib-devel openssl-devel perl cpio expat-devel gettext-devel # yum install curl-devel# yum install AutoCo NF # wg
1. First CD to root directory, execute git config--global credential.helper store command[[email protected] ~]# git config--global credential.helper store2, after the implementation will be in the. gitconfig file more red font entries[User] name = Wang email = [email protected][credential] helper = Store3, after the CD to the project directory, the implementation of the
push Your git repo to GitHub.git remote add origin [email protected]:company/testing.gitGit push Origin MasterNote that, this time, rather than pushing to [email protected], we ' re using the custom host, which we create in theConfig file: [email protected]Return to GitHub, and your should now see your repository. Remember:When the pushing to your personal account, proceed as is always there.For your company account, make sure,
Time:2015/12/251. Description:Error:the requested URL returned error:403 Forbidden while accessing https://github.com ...2. Spit Groove:On the Internet a random search a lot of copies are all kinds of, said put. Git/config below ["origin"] the following URL changed, as shown below" Origin " ] = https://github.com/username/example.git " Origin " ] = https://[email protected]/username/example.git As a result, there is no bird to use, and fin
/root/.ssh (The following is the root permission operation)1. Generate key.$ ssh-keygenAll the way to the return, until the Id_rsa is generated, id_rsa.pub1.1 chmod Id_rsa.pub2. Modify the/etc/ssh/ssh_config file (root user)//normal user Vim ~/.ssh/config (no new file)IncreaseHost github.com *.github.com proxycommand connect-proxy-h web-proxy.oa.com:8080%h%p #设置代理 identityfile ~/.ssh/id_rsa User git3. Installing Connect-proxy3.1. rpm File DownloadHttp://rpm.pbone.net/index.php3?stat=3sea
Tags:. com image logon 9.png alt cannot command log pen, enter command: Apt-get install git prompt permission is not enoughWorkaround, add sudo before the commandsudo apt-get install gitsudo is a Linux system Management Directive, a tool that allows the system administrator to let ordinary users perform some or all of the root commands, such as HALT,REBOOT,SU, and so on. This not only reduces the login and
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.