You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/03-git-branching/sections/workflows.asc
+1-1
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ It's generally easier to think about them as work silos, where sets of commits g
23
23
24
24
[[lrbranch_b]]
25
25
.A "`silo`" view of progressive-stability branching
26
-
image::images/lr-branches-2.png[A "`silo`" view of progressive-stability branching]
26
+
image::images/lr-branches-2.png[A “silo” view of progressive-stability branching']
27
27
28
28
You can keep doing this for several levels of stability.
29
29
Some larger projects also have a `proposed` or `pu` (proposed updates) branch that has integrated branches that may not be ready to go into the `next` or `master` branch.
Then select the "`SSH keys`" section along the left-hand side.
39
39
40
40
.The "`SSH keys`" link.
41
-
image::images/ssh-keys.png[The "`SSH keys`" link]
41
+
image::images/ssh-keys.png[The “SSH keys” link]
42
42
43
43
From there, click the "`Add an SSH key`" button, give your key a name, paste the contents of your `~/.ssh/id_rsa.pub` (or whatever you named it) public-key file into the text area, and click "`Add key`".
44
44
@@ -55,7 +55,7 @@ Next, if you wish, you can replace the avatar that is generated for you with an
55
55
First go to the "`Profile`" tab (above the SSH Keys tab) and click "`Upload new picture`".
Copy file name to clipboardExpand all lines: book/06-github/sections/2-contributing.asc
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This opens up a discussion thread with code review, and the owner and the contri
21
21
To fork a project, visit the project page and click the "`Fork`" button at the top-right of the page.
22
22
23
23
.The "`Fork`" button
24
-
image::images/forkbutton.png[The "`Fork`" button]
24
+
image::images/forkbutton.png[The “Fork” button]
25
25
26
26
After a few seconds, you'll be taken to your new project page, with your own writeable copy of the code.
27
27
@@ -123,7 +123,7 @@ To https://github.com/tonychacon/blink
123
123
124
124
Now if we go back to our fork on GitHub, we can see that GitHub noticed that we pushed a new topic branch up and presents us with a big green button to check out our changes and open a Pull Request to the original project.
125
125
126
-
You can alternatively go to the "`Branches`" page at `https://github.com/<user>/<project>/branches` to locate your branch and open a new Pull Request from there.
126
+
You can alternatively go to the "`Branches`" page at `\https://github.com/<user>/<project>/branches` to locate your branch and open a new Pull Request from there.
Copy file name to clipboardExpand all lines: book/06-github/sections/3-maintaining.asc
+4-4
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,16 @@ Let's create a new repository to share our project code with.
9
9
Start by clicking the "`New repository`" button on the right-hand side of the dashboard, or from the `+` button in the top toolbar next to your username as seen in <<_new_repo_dropdown>>.
All you really have to do here is provide a project name; the rest of the fields are completely optional.
24
24
For now, just click the "`Create Repository`" button, and boom – you have a new repository on GitHub, named `<user>/<project_name>`.
@@ -27,7 +27,7 @@ Since you have no code there yet, GitHub will show you instructions for how to c
27
27
We won't belabor this here; if you need a refresher, check out <<ch02-git-basics-chapter#ch02-git-basics-chapter>>.
28
28
29
29
Now that your project is hosted on GitHub, you can give the URL to anyone you want to share your project with.
30
-
Every project on GitHub is accessible over HTTPS as `https://github.com/<user>/<project_name>`, and over SSH as `[email protected]:<user>/<project_name>`.
30
+
Every project on GitHub is accessible over HTTPS as `\https://github.com/<user>/<project_name>`, and over SSH as `\[email protected]:<user>/<project_name>`.
31
31
Git can fetch from and push to both of these URLs, but they are access-controlled based on the credentials of the user connecting to them.
Copy file name to clipboardExpand all lines: book/10-git-internals/sections/environment.asc
+2-2
Original file line number
Diff line number
Diff line change
@@ -55,8 +55,8 @@ A "`pathspec`" refers to how you specify paths to things in Git, including the u
55
55
These are used in the `.gitignore` file, but also on the command-line (`git add *.c`).
56
56
57
57
*`GIT_GLOB_PATHSPECS`* and *`GIT_NOGLOB_PATHSPECS`* control the default behavior of wildcards in pathspecs.
58
-
If `GIT_GLOB_PATHSPECS` is set to 1, wildcard characters act as wildcards (which is the default); if `GIT_NOGLOB_PATHSPECS` is set to 1, wildcard characters only match themselves, meaning something like `*.c` would only match a file _named_ "`*.c`", rather than any file whose name ends with `.c`.
59
-
You can override this in individual cases by starting the pathspec with `:(glob)` or `:(literal)`, as in `:(glob)*.c`.
58
+
If `GIT_GLOB_PATHSPECS` is set to 1, wildcard characters act as wildcards (which is the default); if `GIT_NOGLOB_PATHSPECS` is set to 1, wildcard characters only match themselves, meaning something like `\*.c` would only match a file _named_ "`\*.c`", rather than any file whose name ends with `.c`.
59
+
You can override this in individual cases by starting the pathspec with `:(glob)` or `:(literal)`, as in `:(glob)\*.c`.
60
60
61
61
*`GIT_LITERAL_PATHSPECS`* disables both of the above behaviors; no wildcard characters will work, and the override prefixes are disabled as well.
0 commit comments