Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git pull

#Basic command, get changes of current branch to remote repo
git pull
#When working with others, I usually stash my local changes
#before pulling in order to avoid conflict commits.
git stash
git pull 
git stash pop #Reapply my local changes, eventually merge confl
Comment

git pull

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
Comment

git pull

git pull <remote> <branch>
Comment

git pull

git checkout new_feature
git pull <remote repo>
Comment

PREVIOUS NEXT
Code Example
Shell :: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x22 
Shell :: how to use https in npm install instead of ssh 
Shell :: how to move files that begine with uppercase in linux 
Shell :: reverse a django migration 
Shell :: Rename git branch while working in the branch 
Shell :: xargs example with curl 
Shell :: git push branch 
Shell :: how to check ssh agent is running in git bash 
Shell :: how to install ros package 
Shell :: switch branches in git 
Shell :: social app django 
Shell :: azure devops set environment variable powershell 
Shell :: upload transfer.sh 
Shell :: git push http access denied 
Shell :: how to make pyinstaller build python program not open command prompt 
Shell :: linux chown 
Shell :: how to save ssh keygen How to add ssh keys to a specific user in linux? 
Shell :: tar uncompress tgz 
Shell :: create self signed certificate 
Shell :: how to undo a bunch of commit sent that was pushed 
Shell :: Do you need to install EsLint after intalling the extension 
Shell :: how can i solve my problems? 
Shell :: save command output to file in powershell 
Shell :: ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries 
Shell :: grep usage 
Shell :: git update from another branch 
Shell :: Rename Files in git command 
Shell :: how to push repository to github 
Shell :: awk use string as field separator 
Shell :: Install GitLab using Docker Engine 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =