In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
The following is the git code submission specification:
Clone the project:
Git clone git@YourIp:ProjectName.git
Pull submission process (the main branch is pulled to local development):
Git pull git@YourIp:ProjectName.git develop:develop (must be the first step)
Git checkout-bJIRA_NAME develop (local development branch name) writes and modifies the code and compiles successfully
Git status
Git add.
Git status (can be omitted)
Git commit-m "[modify] TASK_NAME modify customer's login permissions" (submit code format)
Git checkout develop
Git pull git@YourIp:ProjectName.git develop:develop (must have)
Git merge-no-ffJIRA_NAME
Git push git@YourIp:ProjectName.git develop:develop
Git fetch (optional)
Git branch-d JIRA_NAME (required)
Pull the remote branch to the local development:
Git checkout develop2 [remote branch name]
Git pull git@10.5.2.121:MFR/hybris5511.gitdevelop2:develop2
Git checkout-bJIRA_NAMEdevelop2 [remote branch name]
Git commit-m "[modify] TASK_NAME modifies the login logic of remote branch customers"
Git checkout develop2 [remote branch name]
Git pull git@10.5.2.121:MFR/hybris5511.gitdevelop2: develop2
Git merge-no-ffJIRA_NAME
Git push git@10.5.2.121:MFR/hybris5511.gitdevelop2: develop2
Special instructions:
Git single submission cannot be larger than 100m. Otherwise, Push rejected: d:\ MavenSpace\ thinkinjava: push master to origin/master was rejected by remote
Withdraw the version number:
Git reset-hard ab868a89
Git reset-hard 99e8a874
Git reset-hard c0f125bd02c8c84ea2de2dfb4d408b8f54b3b8c1
Local warehouse withdraws to temporary storage area:
Git reset HEAD~1 [withdraw one version]
Git reset HEAD~2 [withdraw two versions]
Need to re-Commit.
Set the git log format and find the JIRA task:
Git config-- global alias.lg50 "log-50-- graph-- pretty=format:'%Cred%h%Creset -% C (yellow)% d%Creset% s% Cgreen (% cr)% Creset'-- abbrev-commit-- date=relative"
Git lg50-grep= SIRBYH-8888
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.