Project

General

Profile

Actions

Task #87176

closed

Add git setup script for core development

Added by Sybille Peters over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-12-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently, several commands must be executed manually. Some of these, can't just be copy-pasted, because user-specific options must be added to commands (email address, username, etc.).

A script can be added, which makes the setup easier.

Currently, you must execute the following commands:

git config user.name "Your Name" 
git config user.email "your-email@example.com" 
git config branch.autosetuprebase remote
# usually, not required
mkdir -p .git/hooks
cp Build/git-hooks/commit-msg .git/hooks/commit-msg
# make executable (usually not required)
chmod +x .git/hooks/commit-msg
# optional
cp Build/git-hooks/unix+mac/pre-commit .git/hooks/
chmod +x .git/hooks/pre-commit
git config url."ssh://<YOUR_TYPO3_USERNAME>@review.typo3.org:29418".pushInsteadOf git://git.typo3.org
# optional
git config commit.template ~/.gitmessage.txt

See https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/Setup/Git/Index.html

Actions #1

Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/59173

Actions #2

Updated by Sybille Peters over 4 years ago

  • Status changed from Under Review to Closed
Actions #3

Updated by Sybille Peters over 4 years ago

patch was abandoned.

Actions

Also available in: Atom PDF