Describe the problem/error/question
I’m unable to push git tags to a remote repository using the core “Git” node.
What is the error message (if any)?
The remote repository requires authentication. Unlike the “Push” operation, the “Push Tag” operation doesn’t provides a field to select a git credential. Therefore, when pushing tags to a remote git, I get “cannot read username” error.
Please share your workflow
Share the output returned by the last node
Pushing to https://git.example.com/example.git fatal: could not read Username for 'https://git.example.com': terminal prompts disabled
{
"errorMessage": "Pushing to https://git.example.com/example.git\nfatal: could not read Username for 'https://git.example.com': terminal prompts disabled\n",
"errorDetails": {},
"n8nDetails": {
"n8nVersion": "1.101.2 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"Error: Pushing to https://git.example.com/example.git",
"fatal: could not read Username for 'https://git.example.com': terminal prompts disabled",
"",
" at Object.action (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/error-detection.plugin.ts:42:29)",
" at PluginStore.exec (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/plugins/plugin-store.ts:29:29)",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:127:42",
" at new Promise (<anonymous>)",
" at GitExecutorChain.handleTaskData (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:124:14)",
" at GitExecutorChain.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:100:40)",
" at Generator.next (<anonymous>)",
" at fulfilled (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/cjs/index.js:55:24)",
" at processTicksAndRejections (node:internal/process/task_queues:105:5)"
]
}
}
Information on your n8n setup
- n8n version: 1.101.2
- Database (default: SQLite): Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): main
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Docker on Ubuntu

