User Tools

Site Tools


tutorials:git_quick_reference

This is an old revision of the document!


Git Quick Reference Card

Git cheat sheet.

Full documentation.

Add, commit & push

git status
git add --all
git commit -m "JD - commit server work"
git pull origin master
git push origin master

To provide a detailed message and description from the command line: git commit.

Then Insert key. Commented # lines are ignored. First list is the summary; subsequent lines are the detailed description.

Then ESC key. Close the editor with :wq (w - write, q - quit) and Enter key.

source

Add variations

Recursively add files in folder and subfolders.

git add *
tutorials/git_quick_reference.1551236123.txt.gz · Last modified: 2019/02/27 02:55 by marcus.williams