Git cheatsheet:
The most needed Git command listet here.
git add index.html red.html blue.html pink.html |
| Stage multiple files for snapshot |
| Commit the snapshot (exec) |
git commit -m “Message here..” |
| Commit the snapshot, give msg here, not to open editor |
| Show 1 line log of repos, Get new short ID for checkout |
git config -global user.name “your name” |
| With the -global, for all your local Git Repositories |
git config -global user.email “your@email.dot” |
| With the -global, for all your local Git Repositories |
| Go to branch , f.ex = ID from -oneline log |
| Removes file from the brache (stop tracking) |
Here is the Git Cheatsheet for print or download.
PDF (@ 11.8 kB )
";
|