Below: without knowing what the 123 commits are, I'm *certain* that none of 
them should be pushed. 

In simple terms: I want my local copy of main to be no different from 
what's remote; for git-status(1) <https://git-scm.com/docs/git-status> to 
not report that something's to be pushed. 

% date ; gh repo sync grahamperrin/freebsd-src 
Mon 12 Jun 2023 02:21:09 BST 
✓ Synced the "grahamperrin:main" branch from "freebsd:main" 
% git -C /usr/src pull --ff-only freebsd main 
>From https://git.freebsd.org/src 
* branch                      main       -> FETCH_HEAD 
Already up to date. 
% git -C /usr/src status 
On branch main 
Your branch is ahead of 'origin/main' by 123 commits. 
 (use "git push" to publish your local commits) 


It took 2.09 seconds to enumerate untracked files. 
See 'git help status' for information on how to improve this. 

nothing to commit, working tree clean 
% git -C /usr/src config --list | sort 
branch.bug-261349.merge=refs/heads/bug-261349 
branch.bug-261349.remote=origin 
branch.main.merge=refs/heads/main 
branch.main.remote=origin 
branch.patch-4.merge=refs/heads/patch-4 
branch.patch-4.remote=origin 
branch.pkg-stage.merge=refs/heads/pkg-stage 
branch.pkg-stage.remote=origin 
branch.prefer-ee.merge=refs/heads/prefer-ee 
branch.prefer-ee.remote=origin 
branch.releng/13.1.merge=refs/heads/releng/13.1 
branch.releng/13.1.remote=origin 
branch.releng/13.2.merge=refs/heads/releng/13.2 
branch.releng/13.2.remote=origin 
branch.stable/12.merge=refs/heads/stable/12 
branch.stable/12.remote=origin 
branch.stable/13.merge=refs/heads/stable/13 
branch.stable/13.remote=origin 
core.bare=false 
core.filemode=true 
core.logallrefupdates=true 
core.repositoryformatversion=0 
remote.freebsd.fetch=+refs/heads/*:refs/remotes/freebsd/* 
remote.freebsd.fetch=+refs/notes/*:refs/notes/* 
remote.freebsd.pushurl=g...@repo.freebsd.org:src.git 
remote.freebsd.url=https://git.freebsd.org/src.git 
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* 
remote.origin.gh-resolved=base 
remote.origin.url=https://github.com/grahamperrin/freebsd-src.git 
remote.upstream.fetch=+refs/heads/main:refs/remotes/upstream/main 
remote.upstream.url=https://github.com/freebsd/freebsd-src.git 
safe.directory= 
safe.directory= 
safe.directory=/usr/doc 
user.email=grahamper...@freebsd.org 
user.name=Graham Perrin 
% 

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/142f1cd1-d183-4e78-a23a-ed6f43d8b6bbn%40googlegroups.com.

Reply via email to