Posts

Showing posts from December, 2022

Best practice to follow on git and github

Some basics: linux Note: <> just used to differentiate the file for understanding : ls -list the file mkdir <folder name> - creach the file name touch <file name> - create the file code . - take to vs code vi <filename >- open the vim editor - Don’t dive deep into vim editor There are two mode Edit mode and command mode You can press Esc to enter cmd mode to give command like insert delete update and so on  i - for insert a text in a file O, o move the cursor above and below :wq - write and save the file These are the basic about vim editor but don’t spend too much time on this use other editor for faster progress and so on We can directly open the file and made the changes Vim is fun to learn cat <file name > - show what are there in that file rm -rf <file/folder name> -remove the the file or folder from the current directory cd - change the directory(where we are working and our file path) cd .. go back the previous folder in a directory Git confi