Commit graph

32 commits

Author SHA1 Message Date
leo
153a1f30b2
feature: supports toggle --force option for git fetch command (#721)
* Background auto fetch will always disable this option
* This option is not add to pull operation

Signed-off-by: leo <longshuang@msn.cn>
2024-11-22 09:39:50 +08:00
leo
1f158eeded
refactor: use --tags instead of --force for git fetch command if Fetch without tags is turned off (#684)
Signed-off-by: leo <longshuang@msn.cn>
2024-11-12 09:43:24 +08:00
leo
3cbffa6ff9
feature: add an option in repository configuration to enable --prune on fetch (#590)
Signed-off-by: leo <longshuang@msn.cn>
2024-10-30 18:39:38 +08:00
leo
1442dcfe00
feature: allow fetch the latest remote changes into local branch which is not current branch (#617)
Signed-off-by: leo <longshuang@msn.cn>
2024-10-29 09:59:13 +08:00
leo
b9d7f908c9
refactor: do NOT use the --prune parameter for git fetch command (#590)
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-10-22 16:54:21 +08:00
leo
3b1a54dffd
refactor: use git update-ref $LOCAL_BRANCH $REMOTE_BRANCH instead of git fetch $REMOTE $LOCAL_BRANCH $REMOTE_BRANCH to fast-forward local branch without checkout it first. 2024-10-21 16:20:34 +08:00
leo
1ba294a07b
refactor: move auto-fetch from global preference to repository settings
Some checks are pending
Continuous Integration / Build (push) Waiting to run
Continuous Integration / Prepare version string (push) Waiting to run
Continuous Integration / Package (push) Blocked by required conditions
2024-09-26 10:50:21 +08:00
leo
84b8735d6c
code_style: run dotnet format 2024-08-18 23:14:44 +08:00
leo
7fe1df20cc
refactor: delay starting background tasks
* start background task only it is needed
* solve the problem that we can not use `ViewModels.Preference.Instance` until resource ready
* remove avatar sever settings
2024-08-18 23:10:54 +08:00
leo
f4eca45754
code_style: remove all IDE warnings 2024-07-15 00:30:31 +08:00
leo
446445ee73
refactor: base command 2024-07-09 18:13:15 +08:00
leo
cbe4c36525
feature: support git.core.askpass (#239) 2024-07-08 22:07:00 +08:00
leo
6dad466eef
feature: supports --no-tags on fetch and pull operation (#226) 2024-07-01 16:19:29 +08:00
Gadfly
7520a2a7b6 feat: Add config of auto fetch interval 2024-05-11 17:37:54 +08:00
leo
8ab7370409 enhance: use --force to override local refs if it is mismatched with remote's 2024-04-10 11:52:28 +08:00
leo
96d4150d26 project: reorganize the structure of the project.
* remove dotnet-tool.json because the project does not rely on any dotnet tools.
* remove Directory.Build.props because the solution has only one project.
* move src/SourceGit to src. It's not needed to put all sources into a subfolder of src since there's only one project.
2024-04-02 20:00:33 +08:00
Enner Pérez
a1a14f8858 Project Location 2024-03-20 02:38:28 -05:00
leo
18aaa0a143 style: add .editorconfig for code formatting. see issu #25 2024-03-18 09:37:06 +08:00
leo
d895beb3f4 optimize<AutoFetch>: reduce CPU usage 2024-02-19 17:40:36 +08:00
leo
05c9d9be5b feature<AutoFetch>: finish auto fetch remotes 2024-02-18 16:26:07 +08:00
leo
2a62596999 refactor<*>: rewrite all with AvaloniaUI 2024-02-06 15:08:37 +08:00
leo
1c10d9a286 optimize<SSH>: using core.sshCommand instead of environment parameter GIT_SSH_COMMAND 2023-08-23 20:45:12 +08:00
leo
dfc452b2a6 update<Credential>: using manager instead of manager-core for credential.helper 2023-08-23 14:05:19 +08:00
leo
9d6ac9c449 feature<Fast-Forward>: allow fast-forward on local branch that not checked out. 2023-08-18 13:29:44 +08:00
leo
dcf53c31cc feature<*>: use credential-manager-core instead of old credential-manager 2021-11-15 12:21:34 +08:00
leo
e5996d0fe1 style<Preference>: new style of preference setting dialog 2021-10-13 11:19:45 +08:00
leo
48020861ee optimize<Command>: each process has its own envs 2021-10-12 17:26:39 +08:00
leo
75a46ceb74 feature<SSH>: supports using ssh private key to access remote git repository 2021-10-12 17:14:48 +08:00
leo
2cf7192ec4 cleanup<*>: run vs code cleanup to format codestyle and remove unused references 2021-08-05 15:54:00 +08:00
leo
8993f50944 optimize<Fetch>: do NOT raise error when fetch automatically in background 2021-05-31 09:03:58 +08:00
leo
5c4f36e4eb update<Fetch>: change auto fetch period to 10 minutes 2021-04-30 09:05:29 +08:00
leo
30ab8ae954 refactor<*>: rewrite all codes... 2021-04-29 20:05:55 +08:00