Skip to content

Commit dcf93a6

Browse files
committedJun 22, 2019
progit compiling

File tree

401 files changed

+20807
-0
lines changed

Some content is hidden

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

401 files changed

+20807
-0
lines changed
 
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[[A-git-in-other-environments]]
2+
[appendix]
3+
== Git in Other Environments
4+
5+
If you read through the whole book, you've learned a lot about how to use Git at the command line.
6+
You can work with local files, connect your repository to others over a network, and work effectively with others.
7+
But the story doesn't end there; Git is usually used as part of a larger ecosystem, and the terminal isn't always the best way to work with it.
8+
Now we'll take a look at some of the other kinds of environments where Git can be useful, and how other applications (including yours) work alongside Git.
9+
10+
include::book/A-git-in-other-environments/sections/guis.asc[]
11+
12+
include::book/A-git-in-other-environments/sections/visualstudio.asc[]
13+
14+
include::book/A-git-in-other-environments/sections/visualstudiocode.asc[]
15+
16+
include::book/A-git-in-other-environments/sections/eclipse.asc[]
17+
18+
include::book/A-git-in-other-environments/sections/sublimetext.asc[]
19+
20+
include::book/A-git-in-other-environments/sections/bash.asc[]
21+
22+
include::book/A-git-in-other-environments/sections/zsh.asc[]
23+
24+
include::book/A-git-in-other-environments/sections/powershell.asc[]
25+
26+
=== Summary
27+
28+
You've learned how to harness Git's power from inside the tools that you use during your everyday work, and also how to access Git repositories from your own programs.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[[B-embedding-git-in-your-applications]]
2+
[appendix]
3+
== Embedding Git in your Applications
4+
5+
If your application is for developers, chances are good that it could benefit from integration with source control.
6+
Even non-developer applications, such as document editors, could potentially benefit from version-control features, and Git's model works very well for many different scenarios.
7+
8+
If you need to integrate Git with your application, you have essentially two options: spawn a shell and call the `git` command-line program, or embed a Git library into your application.
9+
Here we'll cover command-line integration and several of the most popular embeddable Git libraries.
10+
11+
include::book/B-embedding-git/sections/command-line.asc[]
12+
13+
include::book/B-embedding-git/sections/libgit2.asc[]
14+
15+
include::book/B-embedding-git/sections/jgit.asc[]
16+
17+
include::book/B-embedding-git/sections/go-git.asc[]
18+
19+
include::book/B-embedding-git/sections/dulwich.asc[]
20+

0 commit comments

Comments
 (0)
Please sign in to comment.