How to download and merge remote changes for the current branch?
To download and merge remote changes for your current branch use
git pull without parameters.
Git pull is shorthand for
git fetch followed by
On branch main
Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
nothing to commit, working tree clean
code.rb | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 code.rb
See git pull to learn more about it.