| 1 |
git clone git@gitlab.com:repository.git |
| 2 |
git clone git@github.com:reporsitory.git |
| 3 |
git add . |
| 4 |
git add main.c |
| 5 |
git commit -m "add feature" |
| 6 |
git commit -m "remove feature" |
| 7 |
git commit -m "move feature" |
| 8 |
git commit -m "fix feature" |
| 9 |
git commit -a |
| 10 |
git commit -a -m "add feature" |
| 11 |
git push |
| 12 |
git push origin HEAD:develop |
| 13 |
git push --set-upstream origin task-128 |
| 14 |
git pull |
| 15 |
git pull origin |
| 16 |
git pull --recurse-submodules |
| 17 |
git merge develop |
| 18 |
git merge develop --abort |
| 19 |
git fetch |
| 20 |
git status |
| 21 |
git show |
| 22 |
git branch |
| 23 |
git branch -u |
| 24 |
git checkout develop |
| 25 |
git checkout branch |
| 26 |
git checkout -b task-128 |
| 27 |
git checkout branch --track |
| 28 |
git diff --staged |
| 29 |
git diff master branch-128 |
| 30 |
git remote list |
| 31 |
git remote -v |
| 32 |
git remote set-url origin |
| 33 |
git remote set-url origin git@github.com:epository.git |
| 34 |
git remote set-url origin https:''github.com'repository.git |
| 35 |
git reset |
| 36 |
git reset --hard |
| 37 |
git reset HEAD~1 --soft |
| 38 |
git reset HEAD~2 --soft |
| 39 |
git rebase -i "hash^" |
| 40 |
git rebase --continue |
| 41 |
git rebase --abort |
| 42 |
git clean |
| 43 |
git stash |
| 44 |
git stash pop stash@{1} |
| 45 |
git stash show -p |
| 46 |
git submodule |
| 47 |
git submodule update --recursive |
Комментарии