Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, I Want To Take The Uncommited Changes From My Task And Apply Them Locally To My Local Branch. How Should I Approach This? I Tried Copying It To A

Hey,
I want to take the uncommited changes from my task and apply them locally to my local branch.
How should I approach this?

I tried copying it to a diff file and apply it, but it doesn't work.
The function from the GH repo is quite complicated for a such a simple operation.
https://github.com/allegroai/clearml-agent/blob/a5a797ec5e5e3e90b115213c0411a516cab60e83/clearml_agent/helper/repo.py#L151

Any simple ideas?

  
  
Posted 2 years ago
Votes Newest

Answers 6


Nope. It gives me errors.
Just like the guy that replied in the thread I linked in my previous reply here.

  
  
Posted 2 years ago

Still no good, managed to apply with errors only

  
  
Posted 2 years ago

Just found this thread,
https://clearml.slack.com/archives/CTK20V944/p1639037799391000
Will try to follow and see (although it looks the same like what I tried)

  
  
Posted 2 years ago

The uncommitted changes are in git diff format - can't you simply take them and use them with the git command?

  
  
Posted 2 years ago

Ok, seems like the problem is solved.
These uncommited changes were already applied to the local branch, but the git apply error wasn't very informative.

Thanks!

  
  
Posted 2 years ago

Adding the flags he added also didn't help

  
  
Posted 2 years ago
1K Views
6 Answers
2 years ago
one year ago
Tags