knowledge_base:programming:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
knowledge_base:programming:git [2022/12/02 15:58] – removed - external edit (Unknown date) 127.0.0.1knowledge_base:programming:git [2023/05/18 15:45] (current) Normal User
Line 1: Line 1:
 +====== Git Distributed source repository ======
 +
 +
 +<code>
 +$ cat .gitconfig
 +[alias]
 +        hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=default
 +[user]
 +        email = [email protected]
 +        name = George
 +</code>
 +
 +Use .gitignore to specify un-tracked files
 +
 +https://git-scm.com/book/en/v2 - good training book
 +
 +https://bonobogitserver.com/ - git server on windows
 +
 +https://about.gitlab.com/install/ - git on linux (or follow the git pro book)
 +
 +===== Git Recursive Module Resync =====
 +
 +<code>
 +git submodule sync --recursive && git submodule update --init --recursive
 +</code>