GitHub & BitBucket HTML Preview
Temp
How do I "git clone" a repo, including its submodules?
How do I clone a git repository so that it also clones its submodules?
Running git clone $REPO_URL merely creates empty submodule directories.
Bash 简介
twpayne/chezmoi: Manage your dotfiles across multiple diverse machines, securely.
Manage your dotfiles across multiple diverse machines, securely. - twpayne/chezmoi: Manage your dotfiles across multiple diverse machines, securely.
Bash script absolute path with OS X
I am trying to obtain the absolute path to the currently running script on OS X.
I saw many replies going for readlink -f $0. However since OS X's readlink is the same as BSD's, it just doesn't
GitHub - lukaszlach/commando: Container registry which provides you all the commands you need in a lightweight Alpine image. DevOps and SysOps best friend. https://command-not-found.com
:whale: Container registry which provides you all the commands you need in a lightweight Alpine image. DevOps and SysOps best friend. https://command-not-found.com - lukaszlach/commando: Container ...
Git - git-init Documentation
Git - git-init Documentation
Git - git-config Documentation
git hooks : is there a clone hook?
We want to store some meta-information about the commit in an external database. During a clone or a checkout, this database should be referred and we copy the meta information to a file in the repo
Is it possible to include a file in your .gitconfig
I'd like to include a file in my .gitconfig that has my github settings - is this possible?
Can I do something like this:
[core]
include = /path/to/file
深入 Git:分支 refs
本篇將深入探討 Git 分支到底是什麼?建立分支時到底建立了什麼?如何紀錄分支要指向哪個 commit?
idcrook/i-dotfiles: GNU stow managed dotfiles for macOS and Linux with BASH and zsh (zprezto) and .emacs.d and more
GNU stow managed dotfiles for macOS and Linux with BASH and zsh (zprezto) and .emacs.d and more - idcrook/i-dotfiles: GNU stow managed dotfiles for macOS and Linux with BASH and zsh (zprezto) and ....
ericonr/dotfiles: My Linux environment
My Linux environment. Contribute to ericonr/dotfiles development by creating an account on GitHub.
Git - git-diff Documentation
Git Diff | Atlassian Git Tutorial
Saving changes in a repo: git add adds a change in the working directory to the staging area. git commit commits the staged snapshot to the project history
Git - git-clean Documentation
git restore - Discard or unstage uncommitted local changes
Learn how to use the 'git restore' command to unstage or even discard uncommitted local changes.
Git - git-restore Documentation
Git RM | Atlassian Git Tutorial
Learn the usage and value of git rm in this comprehensive tutorial. The primary function of git rm is to remove tracked files from the Git index.
git reflog | Atlassian Git Tutorial
Reference logs, or "reflogs" are a mechanism Git uses to record updates applied to tips of branches and other commit references.
Git Workflow | Atlassian Git Tutorial
A brief introduction to common Git workflows including the Centralized Workflow, Feature Branch Workflow, Gitflow Workflow, and Forking Workflow.
Git - git-reset Documentation
Git Clean | Atlassian Git Tutorial
git revert and git reset undo a committed snapshot. git checkout checks out files, commits and branches. git clean removes untracked files from directory.
Git - git-revert Documentation
Git Revert | Atlassian Git Tutorial
Learn how to use Git revert to undo changes in git. This tutorial teaches popular usage of git revert and common pitfalls to avoid.
Dotfiles (MacOS custom configuration specifications)
Instead of clicking around, edit all configurations in a single file of system commands.
.dotfiles/osx.sh at master · jfloff/.dotfiles
Automated Configuration, Preferences and Software Installation for OSX - .dotfiles/osx.sh at master · jfloff/.dotfiles
dotfiles/set_osx_defaults at master · diimdeep/dotfiles
dotfiles/osx_set_defaults.sh at master · diimdeep/dotfiles