Git Stash
If you just quickly want to create a temporary stash:
git stash
# .. do your thing
git stash pop
This create and applies a stash, if you want to manage multiple stashes however,
the following process is recommended:
[A] Create stash
git stash push -m "stashname"
Or simply use git stash …
Read More
Git Submodules
Add a submodule
You can add either a HTTPS or SSH URL (SSH is most convenient)
E.g. for github an HTTS URL looks like: https://github.com/...
and SSH URL looks like: git@github.com:...
. The URL can be
picked from the github UI (Code button dropdown box).
Read More
Git LFS
First you need a .gitattibutes files in your repository. This is where the
LFS file patterns are stored.
:::sh
touch .gitattributes
Now lets start tracking *.gz files as LFS.
This tells git-lfs to track all files matching the .bin pattern. The quotes
around the *.bin are …
Read More