linux:git
Dies ist eine alte Version des Dokuments!
Inhaltsverzeichnis
git
Beispiele
Cloning an existing Repository
git clone https://github.com/JeffHoogland/MySoftware.git
Committing Changes to your Repository
git add mynewfile.txt
If you have simply updated (or deleted) existing files we simply pass the -u argument to the add argument:
git add -u git commit -m “Updated the README file” git push origin
Updating a local Git Repository
git pull origin
Datei aus Repo entfernen
git rm Datei
Ordner nur rekursiv:
git rm -r Ordner
Entfernte Repos
Repo hinzufügen:
git remote add origin https://ho2e.de/mygit/UserName/Iptables_fahrrad.wiki.org
Repo entfernen:
git remote rm origin
Konfiguration
Passwort zwischenspeichern
git config --global credential.helper "cache --timeout=3600"
Siehe auch
Weblinks
linux/git.1551620268.txt.gz · Zuletzt geändert: von move
