Re: persistence through GitKraken executable updates- OP has confirmed in comments after GitKraken updated to v4. So seems I do have to configure my credentials in gitkraken but not sure where that should be done. I cannot also clone the same or another repo from Gitkraken. \Update.exe -processStart "gitkraken.exe" -process-start-args="-path \"d:\path with spaces\to\repo\"" I can of course open that repo folder from gitkraken and see even all the remote branch and all the history, but once I do for example pull from gitkraken it failed as 'access' denied. Luckily, there are a couple of as-yet undocumented options you can pass that do the pass-through for you (referenced here) so your custom shortcut could now be. I don't know how gitkraken blocks this, but it might be based on the remote and if the remote is just another folder, that would work, I would hope. If you run it from the app folder directly, you can see the options available at gitkraken.exe -help. Open with git kraken, push to your remote (the other folder on your machine) and then push from that repo to github. You are correct that gitkraken.exe accepts the -p | -path option for the repo to open at launch (e.g. To solve your issue you will need to pass a CLI option through the Squirrel call into the the gitkraken.exe. Once that check is complete, it launches the GitKraken.exe and starts the program. So the update.exe that is running when you click on the shortcut labeled "GitKraken" is running the Squirrel.Windows process that checks for and downloads updates and then runs the newest version of GitKraken. Click on the + behind Remotes and enter the urls of your remote branches or press on and select a repo. After you initial your repository you can see the branches on the left side. GitKraken uses the Squirrel.Windows project for installation and update management for it's Windows installs. the other way is to click on open -> Open a Repository -> Choose the path to your project -> then press on the top 'initialize' and choose local only. I tried "-p" because I saw something similar while googling but it didn't work either C:\Users\\AppData\Local\gitkraken\Update.exe -processStart "gitkraken.exe -p \"C:\\MyRepo1\"" The command line syntax might be different, but as mentioned above, I didn't find any documentation.Quotes within quotes might be wrong, but I think it's correct: Command line passing quotes within quotes.Didn't find any documentation when I googled for "gitkraken from command line with repository path as parameter" GitKraken might not support a path as parameter. To access Workspaces, select the Workspace tab in the top left or use the Command Palette ( command/ctrl + shift + P ) and search Open Workspaces.I tried to just add the path like this, but nothing happened: C:\Users\\AppData\Local\gitkraken\Update.exe -processStart "gitkraken.exe \"C:\\MyRepo1\""Ĭ:\Users\\AppData\Local\gitkraken\Update.exe -processStart "gitkraken.exe \"C:\\MyRepo2\""Ĭ:\Users\\AppData\Local\gitkraken\Update.exe -processStart "gitkraken.exe \"C:\\MyRepo3\"" GitKraken starts like this: C:\Users\\AppData\Local\gitkraken\Update.exe -processStart "gitkraken.exe" I'd like to create a bunch of shortcuts to open Git repository
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |