0

How do I get changes from current branch copied to another branch without having current branch committed?

Git related Query.

19th Mar 2021, 8:37 PM
Ashish
Ashish - avatar
2 Antworten
+ 2
Just need to git checkout another-branch git add -A git commit -m "msg"
21st Jun 2021, 11:53 AM
Calviղ
Calviղ - avatar
+ 1
Stash your uncommitted changes, check out the other branch and unstash your changes. And hope that you don't have any conflicts
19th Mar 2021, 9:43 PM
Benjamin Jürgens
Benjamin Jürgens - avatar