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
583583$ git config rerere.enable true
584584```
585585
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+
586606## Credential Caching
587607
588608### Summary
@@ -637,17 +657,3 @@ $ gitk --all
637657* [ Listing of GUIs] ( http://git-scm.com/downloads/guis )
638658* [ eGit for Eclipse] ( http://eclipse.github.com )
639659* [ 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