Default
English
Deutsch
You are here:
GSI Wiki
>
Epics Web
>
DevelopersCorner
>
GitTricksTips
>
GitTricksTipsSubmodule
(2014-11-03,
PeterZumbruch
)
Edit
Attach
EPICS site GSI
|
Projects & Activities
|
EPICS site
Git Tricks Tips Submodule
Introduction
adding a submodule to a git directory
retrieving a repository with submodules
converting a repository into projects with submodules
Introduction
git submodule
, illustrated in a few command line examples.
These examples require at least version 1.7.
adding a submodule to a git directory
git submodule add
git submodule
git submodule init
retrieving a repository with submodules
git clone
git submodule update
converting a repository into projects with submodules
(H.Brand)
create new branch
go into sub directory
git init
create remote bare repository
push to (final) remote repository
delete local sub directory and
replace by add submodule pointing to remote,
commit
checkout and test
merge new branch into current "master"
--
PeterZumbruch
- 03 Nov 2014
--
PeterZumbruch
- 2014-11-03
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 2014-11-03,
PeterZumbruch
- This page was cached on 2024-09-14 - 13:55.
Epics
Log In
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
EditingShorthand
Macros
MacrosQuickReference
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Webs
Aikido
CRY_EXP
CSframework
ControlsCollaboration
DABC
EPS
ESR_EXP
Epics
FAIRcontrols
FIRST
FRS
Grid
IKBestX
ITInfo
ITRedakteure
Java
Linux
NIUser
OpenScience
PHDStudents
PLinacBD
ROOT
Research
SCM
SIS100BD
STF
Tasca
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki?
Send feedback
|
Legal notice
|
Privacy Policy (german)