File tree Expand file tree Collapse file tree 1 file changed +20
-14
lines changed Expand file tree Collapse file tree 1 file changed +20
-14
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,26 @@ $ gh browse
583
583
$ git config rerere.enable true
584
584
```
585
585
586
+ ## Refspecs
587
+ ### Summary
588
+ * Specification for retrieval and pushing
589
+ * Implied on fetch, pull, and push
590
+ * Altered by option switches like ` --tags `
591
+ * Stored in ` .git/config `
592
+ * Ability to retrieve Pull Request branches
593
+
594
+ ```
595
+ git fetch [repo-url] [source]:[destination]
596
+ git config --add remote.[upstream].fetch ""+refs/pull/*/head:refs/remotes/[upstream]/pull/*""
597
+ ```
598
+
599
+ ## Git Notes
600
+ ### Summary
601
+ * Supplemental commits
602
+ * Parallel graph
603
+ * Not cryptographically as truthworthy as the commits
604
+ * Displayed in the GitHub web UI
605
+
586
606
## Credential Caching
587
607
588
608
### Summary
@@ -637,17 +657,3 @@ $ gitk --all
637
657
* [ Listing of GUIs] ( http://git-scm.com/downloads/guis )
638
658
* [ eGit for Eclipse] ( http://eclipse.github.com )
639
659
* [ SmartGit for Windows, Mac, Linux] ( http://www.syntevo.com/smartgithg/ )
640
-
641
- ## Refspecs
642
- ### Summary
643
- * Specification for retrieval and pushing
644
- * Implied on fetch, pull, and push
645
- * Altered by option switches like ` --tags `
646
- * Stored in ` .git/config `
647
-
648
- ## Git Notes
649
- ### Summary
650
- * Supplemental commits
651
- * Parallel graph
652
- * Not cryptographically as truthworthy as the commits
653
- * Displayed in the GitHub web UI
You can’t perform that action at this time.
0 commit comments