In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Sudo apt-get install git # install Git (ubuntu)
Git clone git://git.kernel.org/pub/scm/git/git.git # Update Git
Configuration before running Git for the first time:
Git comes with a git config tool to help set configuration variables that control the appearance and behavior of Git
These variables are stored in three different locations:
/ etc/gitconfig: contains the common configuration of every user on the system and their warehouse,-- system configures the system level
~ / .gitconfig or ~ / .config / git/config: for current users only,-- global configures users globally
.git / config: configuration file for the repository
Each level overrides the previous level of configuration, so the configuration of .git / config overrides the configuration in / etc/gitconfig
User Information:
The first thing you should do after installing Git is to set your user name and email address. Every Git submission will use this information, and it will be written to your every submission:
Git config-global user.name "huyuan"
Git config-global user.email huyuan@example.com
Editor configuration:
Git config-global core.editor vim
Check configuration information
Use the git config-- list command to list all the configurations that Git can find at that time
$git config-list
User.name=John Doe
User.email=johndoe@example.com
Core.editor=vim
Color.status=auto
.
If there is a duplicate variable name, Git uses the last configuration of each variable it finds
Git config: to check one of the configurations of Git
$git config user.name
Huyuan
Get help
Git help
Git-help
Man git-
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.