`che-theia init` should work with commit hashes
See original GitHub issueDescribe the bug
When using che-theia
I can check out out a particular commit hash, only branches. When we can’t compile against current Theia master, we usually fix the build against that last commit (by hash) that che-theia still compiles against. This means that when we’re in that state, our self-hosting process does not work with what we’re currently shipping.
Che version
- latest
- nightly
- other: please specify
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Start a Git commit message with a hashmark (#) - Stack Overflow
Git will simply remove the line from the commit message. Is there a way to escape the hash? I tried \ and !...
Read more >How to GetTree for a commit hash ? · Issue #1227 · src-d/go-git
Hello, I am wondering how to get tree changes from two commits hashes ? Currently I am just doing this: func main() {...
Read more >git-init(1) Manual Page
This command creates an empty Git repository - basically a .git directory with subdirectories for objects , refs/heads , refs/tags ...
Read more >2.3 Git Basics - Viewing the Commit History
By default, with no arguments, git log lists the commits made in that repository in reverse chronological order; that is, the most recent...
Read more >Does amending a commit change its hash? - The Pragmatic Git
History containing three commits. Now, let's see what happens if we fix the typo using --amend . Will the hash change? $ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Or we just remove the
-b
when checking out stuff. I dont’ think it would make a difference. Do you see one?I see there are several options available:
che-theia init
, checkout Theia to a commit, that Che Theia is currently aligned with, see https://github.com/eclipse/che-theia/blob/dae92d19d167c0e00c31e44630e738dc75153dd5/build.include#L16