Skip to content

Instantly share code, notes, and snippets.

@petrokoriakin
Created January 21, 2016 21:12
Show Gist options
  • Save petrokoriakin/e1b58bcb3be586bf33b2 to your computer and use it in GitHub Desktop.
Save petrokoriakin/e1b58bcb3be586bf33b2 to your computer and use it in GitHub Desktop.
git commandline commands
C:\Users\Thot\Documents\GitHub> cd .\recursion
C:\Users\Thot\Documents\GitHub\recursion [master]> git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
C:\Users\Thot\Documents\GitHub\recursion [master]> git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
C:\Users\Thot\Documents\GitHub\recursion [master]> git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
document.txt
nothing added to commit but untracked files present (use "git add" to track)
C:\Users\Thot\Documents\GitHub\recursion [master +1 ~0 -0 !]> dit add .
Имя "dit" не распознано как имя командлета, функции, файла скрипта или выполняе
мой программы. Проверьте правильность написания имени, а также наличие и правил
ьность пути, после чего повторите попытку.
строка:1 знак:4
+ dit <<<< add .
+ CategoryInfo : ObjectNotFound: (dit:String) [], CommandNotFound
Exception
+ FullyQualifiedErrorId : CommandNotFoundException
C:\Users\Thot\Documents\GitHub\recursion [master +1 ~0 -0 !]> git add .\document
.txt
C:\Users\Thot\Documents\GitHub\recursion [master +1 ~0 -0]> git commit -m "new d
ocument"
[master 29f73bc] new document
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 document.txt
C:\Users\Thot\Documents\GitHub\recursion [master]> git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 275 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
To https://github.com/petrokoriakin/recursion.git
cd8719f..29f73bc master -> master
C:\Users\Thot\Documents\GitHub\recursion [master]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment