Aident logoAident logo centerAident Loadout
Use CasesPricingDocs
ENStart Now
AppsGitHub ToolsGithub Update A Reference
GitHub Tools

Github Update A Reference

Updates an existing Git reference (e.g., a branch or tag) to point to a specific commit SHA. By default, only allows fast-forward updates (where the new commit is a descendant of the current one). Set `force=true` to allow non-fast-forward updates that rewrite history. IMPORTANT…

Write actionRisk level 2 of 5OAuth connection
Use Github Update A Reference

Pricing and limits

Aident logo

Product

Aident LoadoutAident Playbook EditorOpen-CUAK

About

AppsSkillsUse CasesDocsBlogPricingDownloadsPrivacy PolicyTerms of Service

Alternatives

vs Composiovs Zapier
llms.txtGet an AI summary of Aident LoadoutSummarize with ChatGPTSummarize with ClaudeSummarize with GeminiSummarize with Perplexity

© Aident Labs, 2024-2026

Pricing
Free
Unified payment
Not currently supported

Inputs

  • refstring
    Required
    The name of the Git reference to update WITHOUT the 'refs/' prefix. For branches: use 'heads/<branch-name>' (e.g., 'heads/main', 'heads/feature-branch'). For tags: use 'tags/<tag-name>' (e.g., 'tags/v1.0.0'). Note: Branch references require 'heads/' (plural), not 'head/' (singul…
  • shastring
    Required
    The SHA1 commit hash to point this reference to. Must be exactly 40 hexadecimal characters (0-9, a-f) representing a valid commit that exists in the repository.
  • repostring
    Required
    Repository name, excluding `.git` extension (case-insensitive).
  • forceboolean
    Controls whether to allow non-fast-forward updates. When `false` (default), the new commit must be a direct descendant of the current commit (fast-forward only) - this prevents accidental history rewriting. When `true`, allows moving the reference to any commit, even if it means…
  • ownerstring
    Required
    Account owner of the repository (case-insensitive).

Observable output

  • data
    Required
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Required
    Whether or not the action execution was successful or not

Skills that use this Action

Related use cases

No verified related use cases are linked yet.

Official source

Provider source

Skills that use this Action

No published Skills explicitly reference this Action yet.