{"id":18966317,"url":"https://github.com/hxhb/gitcontrollerue","last_synced_at":"2025-07-01T12:04:51.630Z","repository":{"id":108464506,"uuid":"224546515","full_name":"hxhb/GitControllerUE","owner":"hxhb","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-18T09:13:17.000Z","size":31,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T17:47:23.810Z","etag":null,"topics":["git","unreal-engine"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hxhb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-28T01:29:42.000Z","updated_at":"2025-02-23T02:13:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc6f7bee-d970-4940-ad45-7c6b96f50164","html_url":"https://github.com/hxhb/GitControllerUE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hxhb/GitControllerUE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxhb%2FGitControllerUE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxhb%2FGitControllerUE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxhb%2FGitControllerUE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxhb%2FGitControllerUE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hxhb","download_url":"https://codeload.github.com/hxhb/GitControllerUE/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hxhb%2FGitControllerUE/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262959559,"owners_count":23391057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","unreal-engine"],"created_at":"2024-11-08T14:36:34.586Z","updated_at":"2025-07-01T12:04:51.599Z","avatar_url":"https://github.com/hxhb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is this?\n\nThis is an Unreal Engine 4 Plugin that you can operator Git Repository. Support C++ and Blueprint.\n\n![](https://imgs.imzlp.com/imgs/zlp/blog/notes/ue/index/UE4/git-diff-in-ue4-no-runtime.png)\n\n## How do use?\n\nWrapper Interface:\n\n```cpp\nUCLASS()\nclass GITSOURCECONTROLEX_API UFlibSourceControlHelper : public UBlueprintFunctionLibrary\n{\n\tGENERATED_BODY()\npublic:\n\tUFUNCTION(BlueprintCallable, BlueprintPure, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic FString GetGitBinary();\n\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool RunGitCommandWithFiles(const FString\u0026 InCommand, const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, const TArray\u003cFString\u003e\u0026 InParameters, const TArray\u003cFString\u003e\u0026 InFiles, TArray\u003cFString\u003e\u0026 OutResults, TArray\u003cFString\u003e\u0026 OutErrorMessages);\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool RunGitCommand(const FString\u0026 InCommand, const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, const TArray\u003cFString\u003e\u0026 InParameters, TArray\u003cFString\u003e\u0026 OutResults, TArray\u003cFString\u003e\u0026 OutErrorMessages);\n\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool DiffVersion(const FString\u0026 InGitBinaey, const FString\u0026 InRepoRoot, const FString\u0026 InBeginCommitHash, const FString\u0026 InEndCommitHash, TArray\u003cFString\u003e\u0026 OutResault, TArray\u003cFString\u003e\u0026 OutErrorMessages);\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool GitLog(const FString\u0026 InGitBinaey, const FString\u0026 InRepoRoot, TArray\u003cFGitCommitInfo\u003e\u0026 OutCommitInfo);\n\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool GetBranchName(const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, FString\u0026 OutBranchName);\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool GetRemoteUrl(const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, FString\u0026 OutRemoteUrl);\n\n\n\t/**\n\t * Run a Git \"log\" command and parse it.\n\t *\n\t * @param\tInPathToGitBinary\tThe path to the Git binary\n\t * @param\tInRepositoryRoot\tThe Git repository from where to run the command - usually the Game directory\n\t * @param\tInFile\t\t\t\tThe file to be operated on\n\t * @param\tbMergeConflict\t\tIn case of a merge conflict, we also need to get the tip of the \"remote branch\" (MERGE_HEAD) before the log of the \"current branch\" (HEAD)\n\t * @param\tOutErrorMessages\tAny errors (from StdErr) as an array per-line\n\t * @param\tOutHistory\t\t\tThe history of the file\n\t * @param   InHistoryDepth\t\treturn history depth default is MAX_Int32\n\t */\n\tUFUNCTION(BlueprintCallable,Category=\"GitSourceControlEx|Flib\")\n\t\tstatic bool RunGetHistory(const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, const FString\u0026 InFile, bool bMergeConflict, TArray\u003cFString\u003e\u0026 OutErrorMessages, TArray\u003cFGitSourceControlRevisionData\u003e\u0026 OutHistory,int32 InHistoryDepth);\n\n\tUFUNCTION(BlueprintCallable, Category = \"GitSourceControlEx|Flib\")\n\t\tstatic bool GetFileLastCommit(const FString\u0026 InPathToGitBinary, const FString\u0026 InRepositoryRoot, const FString\u0026 InFile, bool bMergeConflict, TArray\u003cFString\u003e\u0026 OutErrorMessages, FGitSourceControlRevisionData\u0026 OutHistory);\n\n};\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhxhb%2Fgitcontrollerue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhxhb%2Fgitcontrollerue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhxhb%2Fgitcontrollerue/lists"}