lwc:programming:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

lwc:programming:git [2020/11/26 22:28] – created John Harrisonlwc:programming:git [2024/12/24 18:23] (current) John Harrison
Line 30: Line 30:
   * [[http://jondavidjohn.com/git-pull-from-a-php-script-not-so-simple/|doing an automatic git pull (webhook) from a php script]]   * [[http://jondavidjohn.com/git-pull-from-a-php-script-not-so-simple/|doing an automatic git pull (webhook) from a php script]]
   * [[https://github.com/TeamPorcupine/ProjectPorcupine/wiki/How-to-Test-a-Pull-Request|how to test a PR]]   * [[https://github.com/TeamPorcupine/ProjectPorcupine/wiki/How-to-Test-a-Pull-Request|how to test a PR]]
 +  * clone all remote branches as local branches: ''git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(git branch --track $2 $1/$2\n)} else {$d{$_}=1}' | csh -xfs'' (from [[https://stackoverflow.com/questions/67699/how-do-i-clone-all-remote-branches]])
  
  
  • lwc/programming/git.1606451283.txt.gz
  • Last modified: 2020/11/26 22:28
  • by John Harrison