JavaScript
- 31 ответ
- 0 вопросов
52
Вклад в тег
$ git status
On branch master
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: myfilegit checkout myfilegit checkout abcde myfile # abcde — хеш коммита
# или
git checkout feature3 myfile # feature3 — имя ветки git remote -vorigin https://github.com/YaroslavShilov/Blank.git/ (fetch)
origin https://github.com/YaroslavShilov/Blank.git/ (push)git remote rm origingit remote add origin git@github.com:YaroslavShilov/Blank.gitgit remote -vorigin git@github.com:YaroslavShilov/Blank.git (fetch)
origin git@github.com:YaroslavShilov/Blank.git (push)