Difference between revisions of "Branch"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
* <code>[[git branch]]</code> command
 
* <code>[[git branch]]</code> command
 
* <code>[[git checkout]]</code> command
 
* <code>[[git checkout]]</code> command
* <code>git branch --list</code>
+
* <code>[[git branch --list]]</code>
  
  
 
* [[GitHub Actions: uses: actions/checkout@v3]]
 
* [[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>
  
 
== Related ==
 
== Related ==
Line 12: Line 15:
 
* [[GitHub Protected branches]]
 
* [[GitHub Protected branches]]
 
* [[GitLab Protected branches]]
 
* [[GitLab Protected branches]]
  [[Your main branch isn't protected]]
+
* <code>[[git pull -a]]</code>
 +
* your_git_[[branch]]=${[[GITHUB_REF]]#refs/heads/}
  
 
== See also ==
 
== See also ==

Latest revision as of 20:29, 17 July 2023

Advertising: