You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My workflow involves running a tool provided by my employer. The tool monitors file system change. When it sees a change, it makes a local commit, push the commit to a remote git server, and make a remote dev box check out the commit. For people that don't use git-branchless, there will be a bunch of garbage in their git reflog. People generally don't care. For me, this generates a bunch of garbage in git sl because I use git-branchless. Right now, I run git hide "draft() & message('substr:-dirty-')" to hide those whenever I want to run git sl.
I'd like to make those commit not show up in git branchless in the first place. Within reason, I can make code changes to the tool. Preferably, that doesn't involve making the tool be aware of git-branchless.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My workflow involves running a tool provided by my employer. The tool monitors file system change. When it sees a change, it makes a local commit, push the commit to a remote git server, and make a remote dev box check out the commit. For people that don't use git-branchless, there will be a bunch of garbage in their git reflog. People generally don't care. For me, this generates a bunch of garbage in
git sl
because I use git-branchless. Right now, I rungit hide "draft() & message('substr:-dirty-')"
to hide those whenever I want to run git sl.I'd like to make those commit not show up in git branchless in the first place. Within reason, I can make code changes to the tool. Preferably, that doesn't involve making the tool be aware of git-branchless.
Reading https://github.com/arxanas/git-branchless/wiki/Command:-git-smartlog#which-commits-are-visible, I was hopeful that making the committer someone other than me could help. So I started the tool with dummy values in GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL env vars. That changed the committer name/email of the commits, but they still show up in git sl.
Any recommendations?
Beta Was this translation helpful? Give feedback.
All reactions