diff options
| author | Franziska Netzband | 2021-12-13 22:11:51 +0100 |
|---|---|---|
| committer | Franziska Netzband | 2021-12-13 22:11:51 +0100 |
| commit | 2356fb13e19b3665d672540d5df813c381a78842 (patch) | |
| tree | 559e0ab735c59a4d945e34c8f3aa26d2cdfc1a3d | |
| parent | d8694e0af86114122f32189a221124b67feb7a2e (diff) | |
| download | githilfe-2356fb13e19b3665d672540d5df813c381a78842.tar.gz | |
| -rw-r--r-- | Termux_und_Git.txt | 25 | ||||
| -rw-r--r-- | githilfe.md | 6 |
2 files changed, 30 insertions, 1 deletions
diff --git a/Termux_und_Git.txt b/Termux_und_Git.txt new file mode 100644 index 0000000..1154b26 --- /dev/null +++ b/Termux_und_Git.txt @@ -0,0 +1,25 @@ +Termux und Git einrichten + ++ Termux installieren ++ folgende Dateien auf das neue Gerät z.B. in den Downloade-Ordner kopieren: + - git (~/.ssh/) + - git.pub (~/.ssh/) + - config(~/.ssh/) + - zshrc (~/.zshrc) --> Datei hat einen Punkt im Namen in dem Verzeichnis ++ öffnen und oflgende Befehle eingeben: + - pkg update + - pkg upgrade + - pkg install openssh + - termux-setup-storage --> Zulassen bestätigen + - cp ~/storage/downloads/git* ~/.ssh/ + - cp ~/storage/downloads/config ~/.ssh/ + - pkg install zsh + - cp ~/storage/downloads/zshrc ~/.zshrc --> die Datei hat jetzt einen Punkt im Namen + - chsh --> zsh eingeben + - pkg install git + - rm ~/storage/downloads/git* + - rm ~/storage/downloads/ + - mkdir ~/storage/downloads/git/ + - ln -s ~/storage/downloads/git ~/git + - git clone git@git.iamfabulous.de:books ~/git/books + - git clone git@git.iamfabulous.de:githilfe ~/git/githilfe diff --git a/githilfe.md b/githilfe.md index a9f4f7f..280d27b 100644 --- a/githilfe.md +++ b/githilfe.md @@ -1,3 +1,7 @@ +# <url> + +git@git.iamfabulous.de:<repo_name> + # git init Macht aus aktuellem Ordner ein Git Repository. @@ -28,7 +32,7 @@ Erstellt neuen Branch und wechselt direkt zu diesem. # git clone <url> <ggf_Neuer_Ornername> -Kopiert das Repository in ein automatisch neu erstelltes Unterverzeichnis. +Kopiert das Repository in ein automatisch neu erstelltes Unterverzeichnis mit Namen in der URL oder alternativ mit dem ggf. angegebenen Ordnername. # git push <origin-repo> <branch> |
