Benutzer-Werkzeuge

Webseiten-Werkzeuge


git_-_command_uebersicht

Dies ist eine alte Version des Dokuments!


git - Command Übersicht

# Passwort Cache aktivieren und Timeout verlängern
git config --global credential.helper cache
git config --global credential.helper "cache --timeout=3600"
# git "forcepull"
# vi .git/config
# ...
[alias]
  forcepull = "!git fetch ; git reset --hard @{u}"

bash git prompt

cd ~
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1
# vi /home/<my-user>/.bashrc
# ...
GIT_PROMPT_ONLY_IN_REPO=1
GIT_PROMPT_THEME=Single_line_Ubuntu
source ~/.bash-git-prompt/gitprompt.sh
git_-_command_uebersicht.1513263994.txt.gz · Zuletzt geändert: 2017/12/14 16:06 von admin