Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

github git clone

to pull project from github to your local machine :
1-create a repo on  github 
2-open the repo and go to repo code , click on the green button "Code"
3-copy the link "SSH" or "HTTPS" 
4-go to your command line app on your machine 
5-run this command : git clone (Link from  step 3)
6-press Enter and you will have your project locally 
<!--->
if you alrady did that and you just want to pull the changes from your github 
just open your command line app and go to the project path or directory 
then : git pull origin main || git pull origin " any branch Name"
this will pull all changes that you don't have them locally
 
PREVIOUS NEXT
Tagged: #github #git #clone
ADD COMMENT
Topic
Name
6+5 =