Skip to content

Commit b709e40

Browse files
committed
Merge pull request #60 from schacon/chapter-7-split
Chapter 7 Update
2 parents dd7bac2 + 36c7f20 commit b709e40

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3871
-2196
lines changed

book/02-git-basics/sections/aliases.asc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[[_git_aliases]]
12
=== Git Aliases
23

34
(((aliases)))
-119 KB
Binary file not shown.
-125 KB
Binary file not shown.
-148 KB
Binary file not shown.
-162 KB
Binary file not shown.
-113 KB
Binary file not shown.

book/03-git-branching/sections/remote-branches.asc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ You can also do `git push origin serverfix:serverfix`, which does the same thing
7878
You can use this format to push a local branch into a remote branch that is named differently.
7979
If you didn't want it to be called `serverfix` on the remote, you could instead run `git push origin serverfix:awesomebranch` to push your local `serverfix` branch to the `awesomebranch` branch on the remote project.
8080

81+
[NOTE]
82+
.Don't type your password every time
83+
====
84+
If you're using an HTTPS URL to push over, the Git server will ask you for your username and password for authentication. By default it will prompt you on the terminal for this information so the server can tell if you're allowed to push.
85+
86+
If you don't want to type it every sinlge time you push, you can set up a ``credential cache''. The simplest is just to keep it in memory for a few mintues, which you can easily set up by running `git config --global credential.helper cache`.
87+
88+
For more information on the various credential caching options available, see <<_credential_caching>>.
89+
====
90+
8191
The next time one of your collaborators fetches from the server, they will get a reference to where the server's version of `serverfix` is under the remote branch `origin/serverfix`:
8292

8393
[source,shell]

book/07-git-tools/1-git-tools.asc

Lines changed: 14 additions & 2191 deletions
Large diffs are not rendered by default.
109 KB
Loading
114 KB
Loading

0 commit comments

Comments
 (0)