Difference between revisions of "Branch"
Jump to navigation
Jump to search
(20 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
* <code>[[git branch]]</code> command | * <code>[[git branch]]</code> command | ||
+ | * <code>[[git checkout]]</code> command | ||
+ | * <code>[[git branch --list]]</code> | ||
+ | |||
+ | |||
+ | * [[GitHub Actions: uses: actions/checkout@v3]] | ||
+ | |||
+ | == Errors == | ||
+ | * <code>[[Your main branch isn't protected]]</code> | ||
+ | * <code>[[error: pathspec XXXX did not match any file(s) known to git]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * [[Restrict who can push to matching branches in GitHub]] | ||
== Related == | == Related == | ||
− | * <code>[[git | + | * <code>[[trigger:]]</code> in [[Azure Pipelines]] |
+ | * Branch control in [[Azure Pipelines]] | ||
+ | * [[GitHub Protected branches]] | ||
+ | * [[GitLab Protected branches]] | ||
+ | * <code>[[git pull -a]]</code> | ||
+ | * your_git_[[branch]]=${[[GITHUB_REF]]#refs/heads/} | ||
+ | * [[Do not allow bypassing the above settings]] | ||
− | ==See also== | + | == See also == |
− | *{{git}} | + | * {{git branch}} |
+ | * {{Branch}} | ||
[[Category:Git]] | [[Category:Git]] |
Latest revision as of 13:51, 26 August 2024
git branch
commandgit checkout
commandgit branch --list
Contents
Errors[edit]
Activities[edit]
Related[edit]
trigger:
in Azure Pipelines- Branch control in Azure Pipelines
- GitHub Protected branches
- GitLab Protected branches
git pull -a
- your_git_branch=${GITHUB_REF#refs/heads/}
- Do not allow bypassing the above settings
See also[edit]
Advertising: