Visual Studio Code – Keyboard shortcuts for Linux

General Ctrl+Shift+P, F1 Show Command Palette Ctrl+P Quick Open, Go to File… Ctrl+Shift+N New window/instance Ctrl+W Close window/instance Ctrl+, User Settings Ctrl+K Ctrl+S Keyboard Shortcuts Basic editing Ctrl+X Cut line (empty selection) Ctrl+C Copy line (empty selection) Alt+ ↓ / ↑ Move line down/up Ctrl+Shift+K Delete line Ctrl+Enter / Ctrl+Shift+Enter Insert line below/ above Ctrl+Shift+\Continue reading “Visual Studio Code – Keyboard shortcuts for Linux”

Generating a new SSH key

Generating a new SSH key Open Terminal. Paste the text below, substituting in your GitHub email address. $ ssh-keygen -t rsa -b 4096 -C “” This creates a new ssh key, using the provided email as a label. > Generating public/private rsa key pair. When you’re prompted to “Enter a file in which to save theContinue reading “Generating a new SSH key”

Git Status, Git Commit, Git Add

To Edit File in Git cd to directory: vi views/index.jade (File Name) Edit the file in VI Editor and save :qw! To see Status: git status # On branch master # Changes to be committed: # (use “git reset HEAD <file>…” to unstage) # # modified: views/index.jade # To Commit git commit -m “change header text”Continue reading “Git Status, Git Commit, Git Add”

Setting up Priate Key Access

Setting up Priate Key Access\ An easy way to authenticate with remote git server like GitHub is to use an ssh key pair. On a CentOs environment, you can generate an ssh key pair like this ssh-keygen -t rsa -b 4096 After generating the key pair, copy the contents of ~/.ssh/ [root@aryan-34252e5f2 ~]# ssh-keygen -tContinue reading “Setting up Priate Key Access”