Notes

August 30, 2026 · Note · 1 min read · 60 words

Chatgpt Zero Width Space In Copied Commands

Categories:
AI
Tags:

What ChatGPT shows:

git add caree​​ros scripts reports tests
git commit -m "Complete ChatGPT export inspection"

What actually gets copied in the clipboard and executed in the terminal:

piranna@Rawr CareerOS % git add caree<200b><200b>ros scripts reports tests
git commit -m "Complete ChatGPT export inspection"

U+200B, ZERO WIDTH SPACE… something looks phishy. Is ChatGPT also adding watermarks to its generated output?

June 12, 2026 · Note · 1 min read · 66 words

How to get all branches from a git remote and push them to a new remote

Tags:
git push newremote refs/remotes/oldremote/*:refs/heads/*

This command will push all branches from the oldremote to the newremote. The refs/remotes/oldremote/* part specifies that we want to push all branches from the oldremote, and the refs/heads/* part specifies that we want to push them to the newremote as branches.

For tags, that would not be so much complex, just git push newremote --tags would be enough.

Found at https://www.metaltoad.com/blog/git-push-all-branches-new-remote.