Skip to content

Instantly share code, notes, and snippets.

@ariefitriadin
Last active October 22, 2020 07:21
Show Gist options
  • Save ariefitriadin/e5c1a83afbea17c59dbc619381043ae3 to your computer and use it in GitHub Desktop.
Save ariefitriadin/e5c1a83afbea17c59dbc619381043ae3 to your computer and use it in GitHub Desktop.
Git Pull Rebase

To Get Update from git branch that use silmutaneously with your teammate use:

branch name: feature/1

currently your local feature/1 branch contain your local commits that not push to origin yet, but somehow you want get update from your team that use the same branch, to be not overlapping git gommit id in the git history between your commit and your teamate commit you can do this in your local branch :

git pull --rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment