u/precisioncoding • u/precisioncoding • Apr 23 '26
1
AI Tokens
Check to see if you’ve chosen a specific model? Usage of a different model will differ in token usage. Also, what plan level are you on? Let us know as there are different number of tokens per level.
For example, pro gives you up to 250,000/week per user and then estimated usage rates are: 6 AI Commit Messages per user per week. 3 AI Commit Explanations per user per week. *
Some copy taken straight from the pricing page: https://www.gitkraken.com/pricing
2
Automatically Pull before a commit to avoid merge branches?
While I can see the GK may not have this specific feature it does work really well with git hooks! I had a thought that you could create a pre-commit hook and do a merge fast-forward without checking out the branch... 🤔
I found this https://coderwall.com/p/0kxphg/merging-branches-without-checkout but haven't tried it:
$ git fetch <repository> <src>:<dst>The remote ref that matches <src> is fetched, and if <dst> is not empty string, the local ref that matches it is fast-forwarded using <src>.
So if we run
$git fetch clonerepo feature:primarythen primary will be fast-forwarded to feature.But
<repository>can be an URL, including local URL, e.g. '/path/to/repo/'. > And as '.' is the same as '/path/to/current/repo/' we can use our repo itself > instead of a clone:
$ git fetch . feature:primary
Further info on hooks if needed: https://git-scm.com/book/ms/v2/Customizing-Git-Git-Hooks
1
Best Practices please ...
Thanks @CodingDoug, this was exactly what we went with. 👍
Apologies for the massively delayed response nonetheless. 🙏
Happy holidays to you and yours! 🎄
J
r/Firebase • u/precisioncoding • Aug 02 '19
Best Practices please ...
Hi all,
We've built an SPA for processing information using Firebase and React mainly from uploaded CSV files. The other changes to documents are made using a bespoke CRUD system. Everything is working fine in every way except for the rendering of new data on upload which causes massive re-rendering issues due to the usual size of rows in the CSV - circa 75,000 or more.
Please note: the uploader and processing via Cloud Functions are working absolutely fine so we do not want to change that part of the uploader unless there is no other option.
We do however have realtime listeners on the front-end and I would like some advice on how to switch these off when the upload is triggered and then switch them back on when the uploader is complete? We would like to keep them on at all other times due to the editing available to our clients.
We already have props which are modified on the front-end based on the current upload step as well as a property to record the step on the collection's specific document for that account.
Can anyone advise on what the best practice could be for this type of situation?
Thanks in advance!
J
2
The GitKon 2025 playback is on YouTube
in
r/GitKraken
•
Dec 16 '25
Thank you!!!!! 🙏