mkdir intro-to-git
cd intro-to-git
code.
touch README.md
or
mkdir intro-to-git
cd intro-to-git
code .
touch README.md
Command | Description |
---|---|
pwd |
Print working directory |
ls |
List folders and files |
cd |
Navigate throught directories |
mkdir <dir_name> |
Creat new directory/folder |
`touch <file_name> | Creat new file |
rm <file_name> |
Delete a file |
`rm - rf <dir_name> | Delete dir/folder |
git init
git add ./<file_name>
git commit -m "your_massage"
git push