Two branch
- master
- Jack
On rebasing master branch, the files which are in untracked state in jack branch also get copied to master ? Is it possible ?
Two branch
On rebasing master branch, the files which are in untracked state in jack branch also get copied to master ? Is it possible ?
Hi @Mohit_Gupta
When rebasing a branch in Git, untracked files from the current working directory do not get copied to the target branch (like master
). Instead, untracked files remain in the working directory regardless of the branch you are on. This behavior is by design in Git, as untracked files are not associated with any specific commit or branch.
You can still see these files as unstaged with git status
in master as well.
Hope this helps!
Hope this helps