Last active
March 6, 2017 18:58
-
-
Save ortund/a785677c3e17cb30f110801be0a1f75a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows PowerShell | |
Copyright (C) 2015 Microsoft Corporation. All rights reserved. | |
~\SkyDrive\Documents\GitHub [master]> git help commit | |
~\SkyDrive\Documents\GitHub [master]> git commit -m "modified markdown guide on new post page and added the guide on a new Controller with a new View. It opens in a new tab for convenience" | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git status | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git add help | |
fatal: pathspec 'help' did not match any files | |
~\SkyDrive\Documents\GitHub [master]> git help add | |
~\SkyDrive\Documents\GitHub [master]> git add -u | |
~\SkyDrive\Documents\GitHub [master]> git commit -m "modified markdown guide on new post page and added the guide on a new Controller with a new View. It opens in a new tab for convenience" | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git status | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git add * | |
~\SkyDrive\Documents\GitHub [master]> git commit -m "modified markdown guide on new post page and added the guide on a new Controller with a new View. It opens in a new tab for convenience" | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git add --all | |
~\SkyDrive\Documents\GitHub [master]> git commit -m "modified markdown guide on new post page and added the guide on a new Controller with a new View. It opens in a new tab for convenience" | |
On branch master | |
nothing to commit, working tree clean | |
~\SkyDrive\Documents\GitHub [master]> git add -a | |
error: unknown switch `a' | |
usage: git add [<options>] [--] <pathspec>... | |
-n, --dry-run dry run | |
-v, --verbose be verbose | |
-i, --interactive interactive picking | |
-p, --patch select hunks interactively | |
-e, --edit edit current diff and apply | |
-f, --force allow adding otherwise ignored files | |
-u, --update update tracked files | |
-N, --intent-to-add record only the fact that the path will be added later | |
-A, --all add changes from all tracked and untracked files | |
--ignore-removal ignore paths removed in the working tree (same as --no-all) | |
--refresh don't add, only refresh the index | |
--ignore-errors just skip files which cannot be added because of errors | |
--ignore-missing check if - even missing - files are ignored in dry run | |
--chmod <(+/-)x> override the executable bit of the listed files | |
~\SkyDrive\Documents\GitHub [master]> git add -v | |
Nothing specified, nothing added. | |
Maybe you wanted to say 'git add .'? | |
~\SkyDrive\Documents\GitHub [master]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment