Skip to main content

Posts

Showing posts from June, 2021

GIT Push and Pull (Learn how to perform Git PUSH and PULL requests through GitHub Desktop and the Command-Line.)

Git PUSH The  git push  command is used to transfer or push the commit, which is made on a local branch in your computer to a remote repository like GitHub. The command used for pushing to GitHub is given below. git push 'remote_name' 'branch_name' In this tutorial, you'll be looking two different ways to PUSH to GitHub. Using Command line to PUSH to GitHub 1. Creating a new repository. You need to create a new repository and click on the plus sign. Fill up all the required details, i.e., repository name, description and also make the repository public this time as it is free. 2. Open your Git Bash. Git Bash can be downloaded in  here , and it is a shell used to interface with the operating system which follows the UNIX command. 3. Create your local project in your desktop directed towards a current working directory. pwd  stands for 'print working directory', which is used to print the current directory. Move to the specific path in your local computer by  ...

“how to uninstall all python packages” Code Answer’s

1 pip3 freeze | xargs pip3 uninstall -y #Write all modules to a txt file 2 pip freeze > requirements.txt #Now to remove one by one: 3 pip uninstall -r requirements.txt #If we want to remove all at once then:  4 pip uninstall -r requirements.txt -y how to delete all pips e type "pip freeze" to get list of all installed packages. Copy all the names into a text file name it pkg.txt then type the following "pip uninstall -r pkg.txt" you will be asked to proceed type "y" and enter