-
git remote add [alias] [url]
add a git URL as an alias
-
git remote -v
list of all remote repositories that are currently connected to your local repository
-
git remote add production_aws https://[email protected]/pako/example_aws.git
add a new remote repository
-
-
git fetch [alias]
fetch down all the branches from that Git remote
-
git merge [alias]/[branch]
merge a remote branch into your current branch to bring it up to date
-
git push
git pushes committed changes to all remote branches which are tracked
-
git push [remote] [branch_local]
git push bitbucket feat/dune/login_api
Transmit local branch commits to the remote repository branch,
-
git push -f
Push the commit forcefully to remote
-
-
git pull
fetch and merge any commits from the tracking remote branch, git pull is a two step process
- ***git fetch*** fetches the remote branches - ***git merge FETCH-HEAD*** and merges the locals with the latest HEAD available for each branch.
-
git pull [remote] [remote-branch-name]
-
git pull origin feat/dune/address_management
Pull down a single branch only
-