@@ -583,6 +583,43 @@ $ 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
+ * Supplements commit message and description
602
+ * Parallel graph
603
+ * Not cryptographically as trustworthy as the commits
604
+ * Displayed in the GitHub web UI
605
+ * Ability to namespace
606
+ * Manual publishing
607
+ * Manual retrieval
608
+
609
+ ```
610
+ git notes add [commit]
611
+ git notes edit [commit]
612
+
613
+ git notes --ref=[namespace] add [commit]
614
+ git log --show-notes=[namespace]
615
+
616
+ git push [remote] refs/notes/*
617
+ git push [remote] refs/notes/[namespace]
618
+
619
+ git fetch [remote] refs/notes/*:refs/notes/*
620
+
621
+ ```
622
+
586
623
## Credential Caching
587
624
588
625
### Summary
@@ -637,17 +674,3 @@ $ gitk --all
637
674
* [ Listing of GUIs] ( http://git-scm.com/downloads/guis )
638
675
* [ eGit for Eclipse] ( http://eclipse.github.com )
639
676
* [ 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
0 commit comments