Кабинет пользователя
Идентификатор пользователя
Пароль
NameDesc
git add pathAdd file or files in directory recursively
git add pathStage file for commit
git apply - < fileApply patch from stdin
git archive rev > fileExport snapshot of revision to file
git archive rev > file --format=[tar|zip]Specify archive format to use: tar or zip
git archive rev > file --prefix=dir/Nest all files in the snapshot in directory
git blame [file]Show file annotated with line modifications
git branchList local branches
git branch -f branch revOverwrite existing branch, start from revision
git cleanClean unknown files from the working tree
git clone urlClone a remote repository into a subdirectory
git command --helpShow help for a command
git commitCommit files that has been staged (with git-add)
git commit -aAutomatically stage all modified files
git diff [path]Show diff of changes in the working tree
git diff HEAD pathShow diff of stages and unstaged changes
git fetch [remote]Fetch changes from a remote repository
git format-patch from[..to]Format a patch with log message and diffstat
git help commandShow help for a command
git checkout [rev] fileRestore file from current branch or revision
git checkout [rev] file -fOverwrite uncommitted local changes
git checkout branchSwitch working tree to branch
git checkout branch -b branchCreate branch before switching to it
git initCreate a repository in the current directory
git log [from[..to]]View commit log for a given revision range
git log [from[..to]] -S'pattern'Search history for changes matching pattern
git log [from[..to]] --statList diffstat for each revision
git log [path]View commit log, optionally for specific path
git merge branchMerge changes from branch
git mv path destinationMove file or directory to new location
git mv path destination -fOverwrite existing destination files
git pull [remote]Fetch and merge changes from a remote repository
git push [remote]Push changes to a remote repository
git remoteList remote repositories
git remote add remote urlAdd remote to list of tracked repositories
git reset --hard HEAD^Reset the working tree to the last commit
git reset HEAD pathUnstage file for commit
git reset --soft HEAD^Undo commit & keep changes in the working tree
git rm pathRemove file or directory from the working tree
git rm path -fForce deletion of file(s) from disk
git statusShow status of the working tree
git tag name [revision]Create tag for a given revision
git tag name [revision] -l [pattern]List tags, optionally matching pattern
git tag name [revision] -sSign tag with your private key using GPG

Комментарии и вопросы

Опубликовать комментарий или вопрос

Copyright 2024 © ELTASK.COM
All rights reserved.