Skip to content

Instantly share code, notes, and snippets.

@ThaJay
ThaJay / git_submodules.md
Last active September 21, 2023 08:57 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:

  • You can separate the code into different repositories.
import React, {PureComponent} from 'react'
import {View, ScrollView, Dimensions,
Modal, TouchableOpacity} from 'react-native'
import {constants} from '../../core/constants'
import getTheme from '../../core/helpers/theme'
import strings from '../../platformhelpers/localization'
import Icon, {iconNames} from '../../platformhelpers/icon'
import ListItem from './list-item'
import CustomText from './text'
import Touchable from './touchable-opacity'
@ThaJay
ThaJay / cloudSettings
Last active January 8, 2021 13:33
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-01-08T13:33:39.235Z","extensionVersion":"v3.4.3"}
@ThaJay
ThaJay / cloudSettings
Last active May 26, 2021 09:03
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-05-26T09:03:42.748Z","extensionVersion":"v3.4.3"}