Skip to content
This repository was archived by the owner on Jun 7, 2024. It is now read-only.

Commit 9a966c9

Browse files
committed
[README] update
1 parent b648df0 commit 9a966c9

File tree

1 file changed

+41
-5
lines changed

1 file changed

+41
-5
lines changed

README.md

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ Command line to do git operation with FastGit.
44

55
## What works
66

7-
- Clone
8-
*git clone GITHUB_URL* command had been tested in Windows 10(build 1809)
9-
107
- Stdout/stderr
118
Real-time display has been tested in Windows 10(build 1809)
129

10+
- Push
11+
*`fgit push`* command had been tested in Windows 10(build 1809)
12+
13+
- Clone
14+
*`fgit clone GITHUB_URL`* command had been tested in Windows 10(build 1809)
15+
1316
## Preparation
1417

15-
Before use fgit-go, install git by yourself. Add git to env PATH is also required.
18+
Before use fgit-go, install `git` by yourself. Add git to env PATH is also **required**.
1619

1720
Download source code of fgit-go, build and run.
1821

@@ -26,4 +29,37 @@ And, fgit-go is cross-platform.
2629

2730
To clone, fgit-go just replaces url to FastGit url.
2831

29-
To push, fgit-go modifies .git config temporarily.
32+
To push, fgit-go modifies .git config temporarily. Like
33+
34+
```config
35+
[core]
36+
repositoryformatversion = 0
37+
filemode = false
38+
bare = false
39+
logallrefupdates = true
40+
symlinks = false
41+
ignorecase = true
42+
[remote "origin"]
43+
url = https://github.com/A/B
44+
fetch = +refs/heads/*:refs/remotes/origin/*
45+
[branch "master"]
46+
remote = origin
47+
merge = refs/heads/master
48+
```
49+
50+
To
51+
52+
```config
53+
[core]
54+
repositoryformatversion = 0
55+
filemode = false
56+
bare = false
57+
logallrefupdates = true
58+
symlinks = false
59+
ignorecase = true
60+
[remote "origin"]
61+
url = https://hub.fastgit.org/A/B
62+
fetch = +refs/heads/*:refs/remotes/origin/*
63+
[branch "master"]
64+
remote = origin
65+
merge = refs/heads/master

0 commit comments

Comments
 (0)