2.7 KiB
Alias | Tag | Date | DocType | Hierarchy | TimeStamp | Product | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
2021-08-18 | Product | NonRoot | 2021-08-18 |
|
Parent:: Storage and Syncing, Privacy & Security, Selfhosting
name Edit Product parameters
type command
action MetaEdit: Run MetaEdit
id EditMetaData
^button-GitHubEdit
name Save
type command
action Save current file
id Save
^button-GitHubSave
Git
title: Summary
collapse: open
Git is a repository of data and files enabling versioning, tracking and syncing working files. It offers public and private repositories and therefore a good solution for syncing files.
The tool is predominantly used by developers collaborating but can be used for personal use.
style: number
Characteristics
Git is a service originally designed for developers to collaborate on code. It offers the following features:
- Storage for files & folders
- Secure data transfer protocol
- Versioning, change tracking
- Cross-platform
Implementations are aplenty, including GitHub or mfxm Website Scope#Git instance.
Scripts
This section highlights different scripts to make Git work on different devices.
Desktop
Git folder is set up through a desktop App (Github, Gitup, else...) and comprises a folder of Git executables. From the Terminal pointing towards the Git folder
~~~
cd /folderpath
~~~
a few actions can be initiated:
Download docs
~~~
git pull (--rebase) (optional: 'remote name' 'branche name')
or
git fetch
~~~
Upload docs
~~~
git add --all/'Folder or File name'
git commit -m "name of the update for versioning"
git push (optional 'remote name' 'branch name')
~~~
Create a new branch
~~~
git checkout -b 'branch name'
git push origin 'branch name'
~~~
iOS
iOS offers a simpler solution through Working Copy, an App to manage Git repositories from an iPhone. Select to sync folders from your phone to your Git repository through the 'Sync Folder' option. The App then syncs on the phone. Any changes need to be committed and pushed to Git through the App.
Further steps
- Buy Working Copy Pro (£17.99)
Documentation