In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Understand the process of developing and pulling branches
Git
Installation:
MySql rpm or binary distribution
Yum install percona server shared; server; client
Ls / etc/init.d/my*
Service mysql start
/ usr/bin/mysql_secure_installiation
Mysql-uroot-p
Cat mysql.sql
Grant all on gogs.* to 'gogs'@'%' identified by' gogs'; authorization
Flush privileges
Setup
MySql
127.0.0.1:3306
User: gogs
Remote fetch/push respository commit index add workspace
File lifecycle in version management
Use
Git init
Touch index.html
Echo index.html
Add
Git add index.html
Batch add
Git add.
Git status View status
Git file classification
Tracked Tracked, added to the version library
UNtracked, not added to the version library
Gitignore, direct copy
Git commit-m (messege) "First Commit"
Git commit-an all tracked files
Git diff comparison change
Git diff compare Workspace with cached
Git diff cache compares cached with stage
HEAD refers to the upper ~ secondary commit
Checkout from cached
Git checkout about.htm covers from cached to space
Git checkout HEAD about.htm overrides from the last commit of the current branch to space
Git reset lists the files that will be reset
Git reset file resets the staging area of the file
Git reset-hard resets the staging area and the workspace
Movement of HEAD
Git reflog displays commit information
Git reset commit, reset HEAD to commit
Git reset-- hard [commit] resets the HEAD of the current branch
Git reset-- keep [commit]... Temporary storage area and work area are inconvenient
The key to modification and deletion is commit
If you are not connected to the Internet or do not use avatar, disable gavatar or modify the configuration file to disable gavatar when accessing install.
The same basic modified version, the pull remotely submitted version before submission. Check for conflicts.
Git commit-a-m must have messege
Git rm cached file modified to untracked
Git config-global user.name "my"
Associate remote version management
Git remote add origin http://my@192^^^
The essence is to create an origin link locally, referring to the following url mapping
Push
Vim config Editing users and verifying passwords
Git push-u origin master
Warehouse settings-deselect the warehouse as private
Clone
Ssh-keygen-t rsa
User settings-- SSH key-- add
Personal information-- my project-- SSH-- copy link
Using Git in Pycharm
Create a new warehouse remotely-- my warehouse-- cmdb
Pycharm-clone respository
Commit
VCS-git-commit-commit or commit or push
Amond additional submission
Stash
VCS-git-stash or unstash
Branch
Branch type
For master-- publishing
Dev-- development use
Mid-- pre-release
Merge branches
FastForward
No FF
Vcs--git--mergen
GitFlow
New entrant. Clone get .git directory
Oschina Cloud Services, located at saas layer
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.