+ [2020-06-10T16:55:51Z] treefrob suits me perfectly. I just wasn't sure about github conventions
+ [2020-06-10T17:28:45Z] kreyren How do i get issue number from a workflow that has trigger to run on issues type opened ?
+ [2020-06-10T17:28:55Z] kreyren wants to use shell variable or something~
+ [2020-06-10T20:51:30Z] BtbN kreyren, dump the env and grep it for the issue number?
+ [2020-06-10T21:14:31Z] cyberpear github is down for me

message no. 182260

Posted by simplicius in #github at 2020-06-10T11:35:00Z

1-2 min I've closed the browser and reopend so it was not a refresh issue
+ [2020-06-11T00:57:07Z] cos I was working in two different branches today. At some point, I did a commit in branch-A that accidentally included a couple of new files meant for branch-B. Later, I commited those same files in branch-B as well. I've done at least one additional commit in both branch-A and branch-B since then. How can I get rid of the extra files from branch-A, not as a file deletion commit, but as if they were never there?
+ [2020-06-11T00:57:41Z] cos In case branch-B ends up getting merged to master before branch-A does, I don't want the branch-A merge to delete those files. I want it to not have any effect on those files.
+ [2020-06-11T01:38:56Z] cos git restore, git reset, and git checkout all failed me in different ways - or I didn't use them right.
+ [2020-06-11T01:40:07Z] cos the way I ended up solving it was to copy the files I had edited to a temporary directory, using -D to get rid of the brnach, recreating the branch, and copying my changed files back in and committing.
+ [2020-06-11T04:51:37Z] kreyren BtbN, doesn't seem to be present anywhere