Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    is there a difference in 4th step with : git pull origin/master --rebase ? Commented Sep 16, 2020 at 8:33
  • 8
    Just learned this one but git checkout {your branch} can actually be git checkout - if the last branch you were on was yours Commented Dec 3, 2021 at 20:57
  • 3
    @nerdlyist the same logic as cd -. Commented Apr 13, 2022 at 9:47
  • @thoroc that is awesome Commented Apr 13, 2022 at 15:08
  • git checkout {your branch} -> git rebase origin/master -> git push I think it does the same thing, am I right? Commented Dec 16, 2022 at 10:35