clear
clear the terminal windowls
list files and folders in the active foldercp [source name] [destination name]
copy a file or folder, examplecp hello.py goodbye.py
copies the filehello.py
and saves it asgoodbye.py
mv [target file] [new name]
rename a file or folder, examplemv hello.py hi.py
renames the filehello.py
tohi.py
rm [target file]
removes (deletes) the target file, examplerm hi.py
mkdir [name]
makes a new folder (directory), examplemkdir myFolder
rmdir [child folder name]
removes a child folder (directory) of the active folder, examplermdir myFolder
cd [child folder name] changes the active folder, example
cd myFolder`..
move to the parent folder, examplecd ..
moves the active folder to the parent folder
code hello.py
create a python file call hello and begin coding into the filepython hello.py
execute the python program
-
Pull latest code from the repository
git pull
-
Add indoor.py to the changes to be committed
git add [file name]
-
Add all chnaged files to the changes to be committed
git add -A
-
Commit all changes in the REPO with comments
git commit -m “My comment“
-
Push all changes to the REPO
git push