Github Commands Cheat Sheet



A VisiData Cheat Sheet
VersionVisiData v2.1
Updated2020-12-09
More infovisidata.org
jsvine.github.io/intro-to-visidata
  1. Git Command Line Cheat Sheet
  2. Github Commands Cheat Sheet Cheat
Getting help
Ctrl-hDisplay the 'Quick Reference Guide'
z + Ctrl-hDisplay list of commands available on the current sheet

The git init command turns an existing directory into a new Git repository inside the folder you are running this command. After using the git init command, link the local repository to an empty GitHub repository using the following command: $ git remote add origin url Specifies the remote repository for your local repository. Git flow hotfix start. Clean master for iphone. Like the other git flow commands, a hotfix is started with. Git flow hotfix start VERSION BASENAME The version argument hereby marks the new hotfix release name. Optionally you can specify a basename to start from. GitHub - ari-hacks/command-line-cheat-sheet: 📝 A place to quickly lookup commands (bash, vim, git, AWS, Docker, Terraform, Ansible, kubectl).

Nintendo switch lite fortnite

Getting out of trouble
U/RUndo/Redo
Ctrl-cAbort the current command
qQuit the current VisiData 'sheet'
Ctrl-qForce-quit VisiData entirely
Input / output
o + filenameOpen a file
Ctrl-s + filenameSave current sheet to filename
g + Ctrl-s + filenameSave all sheets to filename
gYCopy sheet (or selected rows) to clipboard
gzYCopy column (or selected rows for column) to clipboard
Metasheets
SSheets Sheet
gSSheets Graveyard
CColumns Sheet
OGobal options sheet
zOThis-sheet options sheet
Github
Move cursor ..
gjto the last row
gkto the first row
ghto the leftmost column
glto the rightmost column
Ctrl-Fone page down (forward)
Ctrl-Bone page up (backward)

Git Command Line Cheat Sheet

Moving via search
/ + regexSearch forward in current column
? + regexSearch backward in current column
g/ + regexSearch forward in all columns
g? + regexSearch backward in all columns
nMove to next matching row
NMove to previous matching row
Basic row selection
sSelect the current row
uUnselect the current row
tToggle the current row between selected / unselected
gsSelect all rows
guUnselect all rows
gtToggle all rows between selected / unselected
Advanced row selection
| + regexSelect all rows where regex matches the current column
+ regexUnselect all rows where regex matches the current column
g| + regexSelect all rows where regex matches any column
g + regexUnselect all rows where regex matches any column
,Select all rows where the current column matches the current cell
g,Select all rows where any column matches the current cell
z| + exprSelect all rows where expr evaluates to True
z + exprUnselect all rows where expr evaluates to True
Shifting rows / columns
JMove row up
KMove row down
HMove column left
LMove column right
Setting column types
#Integer
%Float
$Currency
@Date
~Text
Renaming columns
^Rename current column
g^Set names of all unnamed columns to the values in the current or selected row(s)
gz^Set names of all visible columns to the values in the current or selected row(s)

Github Commands Cheat Sheet Cheat

Resizing columns
_Adjust the width of current column to fit text in all visible rows
g_Adjust the width of all columns to fit text in all visible rows
z_ + nSet the current column's width to n characters
-Hide the current column by setting its width to 0
gvUnhide all columns
z-Shrink the current column's width in half
Sort rows ..
[in ascending order of current column
]in descending order of current column
g[in ascending order of key columns
g]in descending order of key columns
Filtering
'Create new sheet of selected rows
gz'Create new sheet with 'deep copy' of selected rows
R + nCreate new sheet containing n randomly chosen rows
Summarizing data
FCreate frequency table of current column
gFCreate frequency table of key columns
+ + aggrAdd aggregator to column
z+ + aggrCalculate one-time aggregation of column
ICreate a 'Describe Sheet,' with summary stats for each column
Sheet
Creating new columns
zaCreate a blank column
iCreate an increment column (1,2,3…)
= + exprCreate a new column from a Python expr evaluated against each row
: + regexCreate new column(s) by splitting current column on regex
; + regexCreate new column(s) by extracting regex groups from current column
'Create 'frozen' copy of current column, with all cells evaluated
Commands
Reshaping data
WCreate pivot table sheet, with key column(s) as rows and current column as values
MCreate 'melted' sheet, with key columns as non-melted values
TCreate a transposed sheet, where columns become rows and v.v.
Editing cells
eBegin editing current cell
EnterFinish editing
Ctrl-cCancel editing
Ctrl-aMove to beginning of cell
Ctrl-eMove to end of cell
Ctrl-kClear contents from cursor's position to end of line
Misc.
!Make current column a 'key' column
Ctrl-rReload sheet
Ctrl-^Toggle between current and previous sheet
SpaceOpen long-name command prompt




Comments are closed.