Victor_VG
Tracker Mod | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Цитата: G: Git: { B: Branch: { D: Delete branch: { L: Delete local @git branch -D !?$$Branch name?! R: Delete remount @git branch -D -r !?$$Branch name?! } L: List branch: { A: Botch local and remount @git branch -a L: Local only @git branch R: Remount only @git branch -r } N: New branch: { A: Clone all @git branch -r > "%temp%\fargtbch.txt" @for /f %A in ('findstr /v master "%temp%\fargtbch.txt"') do (git checkout -t %A) @del /f/q %temp%\fargtbch.txt > nul @git checkout !?$$and switch to?! C: Clone selected @git checkout -t origin/!?$$Branch name?! M: Make new @git branch !?$$Branch name?! !?$$Start at commit or tag ((current if empty))?! S: Make and switch @git checkout -b !?$$Branch name?! !?$$Start at commit or tag ((current if empty))?! } --: C: Copy to git branch -C !?$$Old branch name?! !?$$New branch name?! R: Rename to @git branch -M !?$$Old branch name?! !?$$New branch name?! --: M: Merge in @git merge !?$src$Source branch?master! --: S: Select branch lua:mf.eval('Plugin.Command("BE0B1498-4234-4BE1-B257-7653CAF4F091","branch")',0) } C: Commit: { U: Undo: { L: Undo local to commit lua:mf.eval('Far.DisableHistory(-1) mf.print("git reset --hard "..mf.prompt("Undo to commit",nil,1,nil)) Keys("Enter")',0) R: Undo repository to commit lua:mf.eval('Far.DisableHistory(-1) mf.print("git reset --hard "..mf.prompt("Undo to commit",nil,1,nil).." && @git push -f origin HEAD") Keys("Enter")',0) Z: Undo last local commit lua:mf.eval('Far.DisableHistory(-1) mf.print("git commit --amend") Keys("Enter")',0) } C: Create commit lua:mf.eval('Plugin.Command("BE0B1498-4234-4BE1-B257-7653CAF4F091","commit")',0) S: Select for commit @git add !& -u P: Upload commit lua:mf.eval('Far.DisableHistory(-1) mf.print("git push origin HEAD "..mf.prompt("Options",nil,1,nil)) Keys("Enter")',0) W: Show commit edit: < git show !?$$Commit hash or tag name?! } H: History: { C: All commits lua:mf.eval('Plugin.Command("BE0B1498-4234-4BE1-B257-7653CAF4F091","log")',0) D: Diff @edit: < git diff !?$$Start point ((commit or tag))?! !?$$End point ((commit or tag))?! F: Current file lua:mf.eval('Plugin.Command("BE0B1498-4234-4BE1-B257-7653CAF4F091","log "..APanel.Current)',0) I: Selected date edit: < git log --decorate=short --since="!?$$Start date and time?!" --date=iso8601 --format="[%h] %cd %an : %s" R: Selected revisions edit: < git log !?$$Start hash or tag name?!..!?$$End hash or tag name?! --decorate=short --date=iso8601 --format="[%h] %cd %an : %s" S: Selected files edit: < git log !& } R: Repository: { A: Add to index @git add !& --: C: Clone @"%FARHOME%\gtcln" -r !?$repo$Server URL?! !?$dir$Clone to Dir?! !?$branch$Switch to branch?master! --: W: Switch to commit lua:mf.eval('Far.DisableHistory(-1) mf.print("git checkout "..mf.prompt("Commit",nil,1,nil)) Keys("Enter")',0) --: D: Delete selected @git rm -f !?$$Options ((-r for recursive))?! !& @git commit -m "Delete unused" @git push -f origin HEAD E: Delete remote selected @git rm --cached -f !?$$Options ((-r for recursive))?! !& @git commit -m "Delete unused" @git push -f origin HEAD @git add !& L: Delete local selected @git rm -f !?$$Options ((-r for recursive))?! !& N: Remove selected form index @git rm --cached -f !?$$Options ((-r for recursive))?! !& U: Cleanup deleted @git ls-files -d -z | xargs -0 git rm --cached V: Move or rename selected @git mv !?$$Options ((-f, -k, -n, -v))?! !& !?$tgt$Distantion ((dir for list))?! --: R: Repair detached HEAD @git checkout HEAD@{1} S: Check status @git status } S: Release: { R: Upload release @git push origin HEAD !?$key$Push: options? ! @git push origin HEAD --tag !?$keyt$Tag: options? ! S: Delete release @set tg=!?$Name$Tag name?! @git tag -d %tg% @git push origin -d -f %tg% -d @set tg= W: Release master @git commit -a -m "!?$Comment$Comment?!" @git tag -a "!?$Name$Tag name?!" -m "!?$Comment$Comment?!" !?$$Commit hash ((for existing commit only))?! @git push origin HEAD !?$key$Push: options? ! @git push origin HEAD --tag !?$keyt$Tag: options? ! edit:< sha256sum !& } T: Tag: { D: Delete remote tag @git push -d !?$Name$Tag name?! E: Delete local tag @git tag -d !?$Name$Tag name?! N: New tag @git tag -a "!?$Name$Tag name?!" -m "!?$Comment$Comment?!" !?$$Commit hash ((for existing commit only))?! U: Upload all tag @git push origin --tag V: View local tag list edit: < git tag -l -i } --: W: Release master @git commit -a -m "!?$Comment$Comment?!" @git tag -a "!?$Name$Tag name?!" -m "!?$Comment$Comment?!" !?$$Commit hash ((for existing commit only))?! @git push origin HEAD !?$key$Push: options? ! @git push origin HEAD --tag !?$keyt$Tag: options? ! edit:< sha256sum !& } |
| Всего записей: 33201 | Зарегистр. 31-07-2002 | Отправлено: 08:58 23-04-2020 | Исправлено: Victor_VG, 09:01 23-04-2020 |
|