https://en.wikipedia.org/wiki/Linus_Torvalds
sudo apt-get install update
sudo apt-get install git
https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
git config --global user.name "John Doe"
git config --global user.email [email protected]
git config --global push.default current
https://help.github.com/en/articles/connecting-to-github-with-ssh
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
git add
git commit -a -m
git log --oneline
git pull
git status
git diff
git apply
git merge --squash
git checkout -b
git branch -D