My every deploy us named ‘production’ can i change the name so that I know that what have I changed while rolling back to previous version
If you use Git, that No deploy message actually shows the commit name. I believe you could do something similar with CLI, though I’m not perfectly sure about that. But if you’re using drag-n-drop deploys, there’s no way to change that.
i dont want to make my code open-source therefore git is not an option for me… And can you drop a link of the guide containing CLI walkthrough in netify
Hi @Samrridh
There is no requirement that code stored with a git provider (e.g. GitHub) is open-source. Many projects are completely private. Storing with such a provider also gives a safe place to store projects in the event something goes wrong with your computer.
As for Netlify CLI here is the documentation you need
and you might find this relevant too
Was this question actually answered?! There is no flag in netlify cli to name a deploy at least according to the docs. It’s great that you can at least mimic the alias naming to include the deploy context and the PR number, but there is no way to add a name. All you get is “Production” or “Branch Deploy”, which is not helpful if you’re trying to identify builds at a high level. It would be awesome if there was a flag for this like --name or --title
Super interested in this as well. Would be great to have the option for it to not just say branch deploy
This is not possible and there’s no current plans to change anything here. Any particular use-cases that are being targetted?
Any particular use-cases that are being targetted?
That was already mentioned by @Samrridh in their first post “so that I know that what have I changed while rolling back to previous version”
@malachi-rhombus also mentioned: “…not helpful if you’re trying to identify builds at a high level.”
Further to that, I may need to know the exact git commit corresponding to a particular deployment for customer support, debugging, tracing, etc.
This is really needed and a bit of a shame that its not there. How is anyone supposed to know which git commit a particular deployment was for, if all of them give the same generic message.
Compare this with Vercel and Cloudflare. In both these, the git commit ID is mentioned and the commit message - this is perfect as as it should be. Therefore I do not see any reason why “this is not possible”
Vercel:
Cloudflare:
Right now I’m completely stumped - I need to determine what git commit was last deployed on a project, and there seems to be no way to figure this out. Its not even in the deployment log. All I can see is:
7:19:07 PM: Starting to prepare the repo for build
7:19:08 PM: Preparing Git Reference refs/heads/master
Edit: Hmm, I’m able to figure this out by cross-referencing the deployment date/time.
I have already answered that here:
Not sure if you’re doing an apples-to-apples comparision with Vercel and Cloudflare, and I can’t speak for those platforms as I don’t know about them. But the Netlify screenshot you shared is a clear indication of either:
- builds being triggered manually from the UI
- or via something like build hooks
A “typical” Git deploy shows the data exactly like you expect.
This is an unhelpful answer, and I expect better from Netlify. While you may not know about these other platforms, I do - and its common to show how someone else is doing something so that a system can be improved for the better.
What’s a “typical” git deployment? I am free to deploy in whatever manner, yes I am triggering a deployment from a Git repo manually from the UI (same as what I do on the other places). Irrespective of how its deployed, I expect that commit id and/or message is pulled and stored and displayed for future reference.



