This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pattern Matching | |
In pattern matching, you can match from the left or from the right. The operators, along with their functions and examples, are shown below: | |
Operator: ${foo#t*is} | |
Function: deletes the shortest possible match from the left | |
Example: | |
$ export foo="this is a test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Edit the local .git/config, add the following code: | |
[remote "github"] | |
fetch = +refs/heads/*:refs/remotes/github/* | |
url = git://github.com/PROJ_NAME | |
2) Check remote branches | |
git branch -r github |
NewerOlder